aboutsummaryrefslogtreecommitdiff
path: root/modules/TUI/key_map.jai
diff options
context:
space:
mode:
authordam <dam@gudinoff>2024-03-21 00:50:42 +0000
committerdam <dam@gudinoff>2024-03-21 00:50:42 +0000
commitb47287aaa3cfa384ec683ff58e0d247e8bad32b1 (patch)
treeb838b1d21fbd1a36e27e129d75e2f3224b98df1e /modules/TUI/key_map.jai
parentac92da96856603d450e39fa536f287bcf67c0fd7 (diff)
downloadtask-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.jai2
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")); // + + + +