Daniel Eklöf
ae23023341
keymap: align backspace escapes with XTerm
...
Backspace now emits DEL for all non-ctrl modifier combos, and BS for
all ctrl modifier combos.
The alt modifier prefixes DEL/BS with ESC.
This also removes my own hack of mapping ctrl+backspace to
alt+backspace.
Describe backspace behavior in both the README and the man page.
TODO: implement DECBKM to allow applications to toggle the backspace
behavior.
2020-02-21 19:11:03 +01:00
Daniel Eklöf
1472383c15
keymap: remove keymap table
...
Lookup is now done in code, using a switch-statement
2020-01-11 18:37:00 +01:00
Daniel Eklöf
8837309c2e
keymap: add KP enter
...
This makes the keypad enter key emit "\eOM" in keypad application
mode.
2020-01-11 12:37:07 +01:00
Daniel Eklöf
30f6480644
keymap: add escapes for keypad 'begin'
...
This is usually the '5' key, in non-num lock mode.
2020-01-10 20:23:56 +01:00
Daniel Eklöf
b8c552a5b7
keymap: add meta modifier mappings for keypad keys
2019-08-15 20:07:33 +02:00
Daniel Eklöf
2c16ec2687
keymap: add meta modifier mappings for non-keypad keys
2019-08-15 19:56:14 +02:00
Daniel Eklöf
9ca01436ee
input: track meta modifier
2019-08-15 19:38:28 +02:00
Daniel Eklöf
c5747fbd7d
keymap: don't ESC prefix return when 'shift' is held down
2019-08-15 19:24:46 +02:00
Daniel Eklöf
18fb70bb3f
keymap: fix sequences for PageDown
2019-07-22 18:45:14 +02:00
Daniel Eklöf
cb78c8cff6
keymap: map tab and back-tab
2019-07-18 14:54:43 +02:00
Daniel Eklöf
056700aa8f
keymap: use hex instead of octal
2019-07-17 11:18:55 +02:00
Daniel Eklöf
34f9d544fd
input: fix backspace escape sequences
2019-07-09 15:09:44 +02:00
Daniel Eklöf
cb8c2cdb35
input: split up keymap
...
This makes the top level table smaller, and faster to search
through. Eventually, we could do something fancy, like b-search the
top level table.
2019-07-09 15:05:07 +02:00
Daniel Eklöf
3dbef02dac
input: implement keypad application mode
...
This commit also replaces the previous (temporary) key map with a much
more complete one.
2019-07-09 14:27:26 +02:00