Get basic full string width tests running

This commit is contained in:
Kovid Goyal
2025-04-11 10:45:39 +05:30
parent cf6bb29ef7
commit 3a4d32b85b
4 changed files with 137 additions and 11 deletions

View File

@@ -138,7 +138,7 @@ func KeyEventFromCSI(csi string) *KeyEvent {
}
orig_csi := csi
last_char := csi[len(csi)-1:]
if !strings.Contains("u~ABCDEHFPQRS", last_char) || (last_char == "~" && (csi == "200~" || csi == "201~")) {
if !strings.Contains("u~ABCDEHFPQS", last_char) || (last_char == "~" && (csi == "200~" || csi == "201~")) {
return nil
}
csi = csi[:len(csi)-1]