summaryrefslogtreecommitdiffstats
path: root/doc/nl/repeat.txt
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-10-22 10:01:16 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-10-23 08:40:25 +0200
commit61e577bf8ad1b8d284e30ace751197faa0d034eb (patch)
tree4cf3a50835647a23bcf194aecb383e69fa88622f /doc/nl/repeat.txt
parentdd5af2f7f407595ab00c02b705c2696e12dbbe36 (diff)
downloadcalcurse-61e577bf8ad1b8d284e30ace751197faa0d034eb.tar.gz
calcurse-61e577bf8ad1b8d284e30ace751197faa0d034eb.zip
Support key bindings for all escape keys
All key names for ordinary ASCII keys as well as for escape keys (pseudo keys) are cached in a lookup-table, keynames[], at startup. Mapping between key names (strings) and key codes (integers) in keys_str2int and keys_int2str) is performed through this table. The key names used are those returned by the keyname() function of ncurses. But to accommodate some of the names to the three-letter space available in the status menu, four ordinary keys and the most common escape keys have calcurse abbreviated names: ESC, TAB, RET, SPC and LFT, HOM, PgU, INS, F1, etc. All keys known by ncurses can be bound. Thus the check for not recognized keys in the key configuration menu becomes superfluous. The only keys that cannot be bound, are those escape keys not known to ncurses, i.e. not described by the terminfo database for the terminal type in use. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'doc/nl/repeat.txt')
0 files changed, 0 insertions, 0 deletions