aboutsummarylogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero2012-11-13 20:05:02 +0100
committerRoberto E. Vargas Caballero2012-11-13 20:05:02 +0100
commitbfe3279a80f5a3c545efaea166b3ca07180cd712 (patch)
tree9cf17a482c7acd7d0f1199444a75b3086e7a9718 /TODO
parent4b2c2d7b210f70fa8c673fa9b20d5ceffc25de67 (diff)
downloadaur-bfe3279a80f5a3c545efaea166b3ca07180cd712.tar.gz
Add missed key definitions
This patch adds the keys for the keypad (in both modes, application mode or ansi mode) and function keys. It uses the same convention than xterm and instead of using the XK_Fxx values it generates them using F1-F12 and modifiers. For example: F1 -> ^[OP F1 + Shift = F13 -> ^[[1;2P F1 + Control = F25 -> ^[[1;5P F1 + Mod2 = F37 -> ^[[1;6P F1 + Mod1 = F49 -> ^[[1;3P F1 + Mod3 = F61 -> ^[[1;4P It is also important notice than the terminfo capability kIC (shifted insert key) only can be generated using the keypad keyboard, because the shorcut for selection paste is using the same combination. After this path the number of elements in the Key array becomes high, and maybe a sequencial search is not enough efficient now. --- TODO | 6 +--- config.def.h | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- st.info | 70 ++++++++++++++++++++++++++++++++++++++-- 3 files changed, 169 insertions(+), 9 deletions(-)
Diffstat (limited to 'TODO')
-rw-r--r--TODO6
1 files changed, 1 insertions, 5 deletions
diff --git a/TODO b/TODO
index f56a6d9ece56..e1168a1a66eb 100644
--- a/TODO
+++ b/TODO
@@ -5,11 +5,7 @@ vt emulation
* color definition in CSI
* implement CSI parsing
* make the keypad keys really work
- * kf0 .. kf44
- * kend, kel, kent, kfnd, ked, kext
- * kNXT, kPRV
- * ka1, ka3, kb2
-* add arrow keys handling
+ * kel, kfnd, ked, kext
code & interface
----------------