Commit 87f89de

Eric Bower  ·  2026-04-04 22:32:38 -0400 EDT
parent c6956f8
fix: kitty up arrow detection
1 files changed,  +1, -1
+1, -1
......@@ -218,7 +218,7 @@ pub fn isCtrlBackslash(buf: []const u8) bool {
218218
219219 /// Detects vt100 or kitty keyboard protocol escape sequence for up arrow.
220220 pub fn isUpArrow(buf: []const u8) bool {
221- return std.mem.eql(u8, buf, "\x1b[A") or std.mem.eql(u8, buf, "\x1b[26;1u");
221+ return std.mem.eql(u8, buf, "\x1b[A") or std.mem.eql(u8, buf, "\x1b[1;1:1A");
222222 }
223223
224224 fn isKeyPressed(buf: []const u8, expected_key: u32, expected_mods: u32) bool {