summaryrefslogtreecommitdiffstats
path: root/src/listbox.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-09-27 21:45:33 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-10-23 08:39:11 +0200
commitdd5af2f7f407595ab00c02b705c2696e12dbbe36 (patch)
tree2d125d3ed867e027e554d303b22252943d1ba767 /src/listbox.c
parentefd76a0d995292e48f5466fccada4901618f7d97 (diff)
downloadcalcurse-dd5af2f7f407595ab00c02b705c2696e12dbbe36.tar.gz
calcurse-dd5af2f7f407595ab00c02b705c2696e12dbbe36.zip
Updates for UTF-8 key bindings
Code point mapping adjusted for multibyte characters to avoid the ncurses range 0-KEY_MAX. This includes three fixes: 1) test sequence in keys_assign_binding(), 2) reassemble multi-byte character in keys_wgetch(), 3) check for already in use in keys_assign_binding(). Rearrangement of code. The introduction of allocated memory in keys_int2str() has as a consequence that check for recognized ncurses pseudo characters now are in two places: keys_str2int() and custom_keys_config(). The latter was moved from keys_wgetch() to improve user information. More informative warning messages in custom_keys_config(). Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/listbox.c')
0 files changed, 0 insertions, 0 deletions