Add OSC 8 support (#2243)

* Add `OSC 8` support

* Rename functions

* Update tests

* Support grouped links

* Update `CHANGELOG.md`

* Move terminal sequence parsing to new file
This commit is contained in:
CatsDeservePets authored and GitHub committed 2025-11-03 15:55:29 +01:00
1 parent 830f072961
commit e45412d363
10 files changed
+497 -306

No files matched your search

+2 -2
View File
@@ -331,8 +331,8 @@ func (dir *dir) sort() {
})
case customSort:
applySort(func(f1, f2 *file) int {
s1 := normalize(stripAnsi(f1.customInfo))
s2 := normalize(stripAnsi(f2.customInfo))
s1 := normalize(stripTermSequence(f1.customInfo))
s2 := normalize(stripTermSequence(f2.customInfo))
return naturalCmp(s1, s2)
})
}