diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-13 20:05:02 +0100 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-13 20:05:02 +0100 |
commit | 620e3bb39ebe617b69b5cb1323b4f47c2f699527 (patch) | |
tree | 9edda47c23943e3479cf450abfac07cd9e45f5f9 /st.info%25252525253fid%25252525253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%252525253fid%252525253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%2525253fid%2525253d620e3bb39ebe617b69b5cb1323b4f47c2f699527&id2%2525253d44597b359e030d86e16ab9b6510f54366d57e5ac%25253fid%25253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%253fid%253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%3fid%3d620e3bb39ebe617b69b5cb1323b4f47c2f699527?id=620e3bb39ebe617b69b5cb1323b4f47c2f699527 | |
parent | 44597b359e030d86e16ab9b6510f54366d57e5ac (diff) |
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 'st.info%25252525253fid%25252525253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%252525253fid%252525253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%2525253fid%2525253d620e3bb39ebe617b69b5cb1323b4f47c2f699527&id2%2525253d44597b359e030d86e16ab9b6510f54366d57e5ac%25253fid%25253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%253fid%253d620e3bb39ebe617b69b5cb1323b4f47c2f699527%3fid%3d620e3bb39ebe617b69b5cb1323b4f47c2f699527?id=620e3bb39ebe617b69b5cb1323b4f47c2f699527')
0 files changed, 0 insertions, 0 deletions