diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-11-20 12:59:26 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-11-21 14:46:18 +1100 |
commit | 3af2c04787af928b296079a7e10388fe5958bd8b (patch) | |
tree | e8070661411a319b72eb4583531561994a626a11 /test/lib | |
parent | bc8b183fbea66e41b23cfd5e7e5e7204a76b0629 (diff) | |
download | talos-petitboot-3af2c04787af928b296079a7e10388fe5958bd8b.tar.gz talos-petitboot-3af2c04787af928b296079a7e10388fe5958bd8b.zip |
ui/ncurses: Handle arrow key variantsv1.6.4
In the vt100 'application' cursor mode arrow keys produce ^[Ox rather
than the usual ^[[x. Add this pattern to our defined keys so we don't
accidentally catch the escape key.
For reference:
http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-21.html
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
(cherry picked from commit 33a0f544151f44bb58924ad281aaca2dc58fe561)
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions