diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 14:27:29 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | f9502fa884ac3baff04de40c82b68034e02df61e (patch) | |
| tree | 5af0f4233826b0e5297207ffec73b90e83c404bd /src/pardes.zig | |
| parent | e373dea7e32ab83e37c9db97ef5709786b9b2188 (diff) | |
| download | pardes-f9502fa884ac3baff04de40c82b68034e02df61e.tar.gz pardes-f9502fa884ac3baff04de40c82b68034e02df61e.zip | |
Function keys, Insert and the keypad reach a terminal pane as their terminal sequences
Diffstat (limited to 'src/pardes.zig')
| -rw-r--r-- | src/pardes.zig | 8 |
1 files changed, 8 insertions, 0 deletions
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 { |
