mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
...
This commit is contained in:
parent
7029a35df9
commit
5e6d4ea4c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue