Fix OSC8 hyperlinks mangled when URL contains unicode
CodeQL / Analyze (go) (push) Has been cancelled
build / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled

Fix #4707
This commit is contained in:
Junegunn Choi
2026-03-08 13:47:56 +09:00
parent a8e1ef0989
commit f3ca0b1365
9 changed files with 52 additions and 42 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ package algo
// to search for both bytes in a single pass.
//
//go:noescape
func indexByteTwo(s []byte, b1, b2 byte) int
func IndexByteTwo(s []byte, b1, b2 byte) int
// lastIndexByteTwo returns the index of the last occurrence of b1 or b2 in s,
// or -1 if neither is present. Implemented in assembly using ARM64 NEON,