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:
1 parent
830f072961
commit
e45412d363
10 files changed
+497
-306
No files matched your search
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user