From 5e6d4ea4c052049a22f2c5d9387b64e4ec412065 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 6 Jun 2025 13:32:46 +0530 Subject: [PATCH] ... --- tools/fzf/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fzf/types.go b/tools/fzf/types.go index 3e52d3c8c..1888fafcb 100644 --- a/tools/fzf/types.go +++ b/tools/fzf/types.go @@ -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 } }