From f9502fa884ac3baff04de40c82b68034e02df61e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 14:27:29 -0300 Subject: Function keys, Insert and the keypad reach a terminal pane as their terminal sequences --- src/pardes.zig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index ae04b4e7..4fb11362 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -3590,6 +3590,14 @@ pub const Key = struct { pub const page_up: u21 = 0xF0007; pub const page_down: u21 = 0xF0008; pub const delete: u21 = 0xF0009; + pub const insert: u21 = 0xF000A; + pub const print_screen: u21 = 0xF000B; + pub const scroll_lock: u21 = 0xF000C; + pub const pause: u21 = 0xF000D; + pub const menu: u21 = 0xF000E; + /// F1 to F25, in order: Fn is `f1 + n - 1`. + pub const f1: u21 = 0xF0011; + pub const f25: u21 = f1 + 24; }; pub fn hit(key: Key, binding: []const config.Chord) bool { -- cgit v1.3