diff options
| author | dam <dam@gudinoff> | 2024-03-21 00:50:42 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-03-21 00:50:42 +0000 |
| commit | b47287aaa3cfa384ec683ff58e0d247e8bad32b1 (patch) | |
| tree | b838b1d21fbd1a36e27e129d75e2f3224b98df1e /modules/TUI/key_map.jai | |
| parent | ac92da96856603d450e39fa536f287bcf67c0fd7 (diff) | |
| download | task-time-tracker-b47287aaa3cfa384ec683ff58e0d247e8bad32b1.tar.zst task-time-tracker-b47287aaa3cfa384ec683ff58e0d247e8bad32b1.zip | |
Fix get_key to support escape codes.
Diffstat (limited to 'modules/TUI/key_map.jai')
| -rw-r--r-- | modules/TUI/key_map.jai | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TUI/key_map.jai b/modules/TUI/key_map.jai index 42acabf..b272253 100644 --- a/modules/TUI/key_map.jai +++ b/modules/TUI/key_map.jai @@ -31,7 +31,7 @@ setup_key_map :: () { */ // Up // g i k l x - // table_set(*key_map, "\e[A", to_key("#up")); // + + + + + + table_set(*key_map, "\e[A", to_key("#up")); // + + + + + table_set(*key_map, "\e[1;1A", to_key("#up")); // table_set(*key_map, "\e[1;2A", to_key("#up+$")); // + + + + table_set(*key_map, "\e[1;3A", to_key("#up+a")); // + + + + |
