From 37e9d2435b549995bb0fb0f6b4820ee54f928da9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 25 Jun 2025 08:07:01 +0530 Subject: [PATCH] ... --- kittens/choose_files/scan.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kittens/choose_files/scan.go b/kittens/choose_files/scan.go index 056932953..fd6e7a2bd 100644 --- a/kittens/choose_files/scan.go +++ b/kittens/choose_files/scan.go @@ -133,6 +133,7 @@ type sortable_dir_entry struct { buf [unix.NAME_MAX + 1]byte } +// lowercase a string into a pre-existing byte buffer with speedups for ASCII func as_lower(s string, output []byte) int { limit := min(len(s), len(output)) found_non_ascii := false