mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-06 08:01:58 +02:00
...
This commit is contained in:
@@ -38,7 +38,7 @@ func check_ascii(bytes []byte) (ascii_until int) {
|
||||
}
|
||||
// Handle remaining bytes
|
||||
for ; i < slen; i++ {
|
||||
if bytes[i] > 127 {
|
||||
if bytes[i]&utf8.RuneSelf != 0 {
|
||||
return i
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user