JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Add control and meta combinations for arrow keys
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 13 Nov 2012 19:04:54 +0000 (20:04 +0100)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 13 Nov 2012 19:04:54 +0000 (20:04 +0100)
commit44597b359e030d86e16ab9b6510f54366d57e5ac
tree2e2ec7cb0d1ed2eb392b7490a14cc233ec8310fa
parent3b16695f4e8a29f47ad273912065dfba53544a29
Add control and meta combinations for arrow keys

Since there isn't any terminfo capability for control and meta modifiers for
arrows keys it is necessary use the same that almost terminal emulators use,
because there are a lot of programs which have these codes hardcoded.

This cause also that shift combinations are also changed, but in this case
this is not a problem since there are terminfo capabilities for them. After
this patch shift-up and shift-down continue not working in emacs with
TERM=st, but they work with TERM=xterm, so it is possible some other changes
are necessary in the terminfo entry.
---
 config.def.h |   16 ++++++++++++----
 st.info      |    8 ++++----
 2 files changed, 16 insertions(+), 8 deletions(-)
config.def.h
st.info