diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-07-12 16:24:20 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-07-12 17:02:06 +1000 |
commit | 6878bbdd7bb522f87ff097320e95e6a3c67d35f1 (patch) | |
tree | e4f065eec6ca795a6f90d9fd79708234060ea206 /ui/ncurses | |
parent | 53aa247c013afcab0dd003fbb7bd056bebcb23e8 (diff) | |
download | talos-petitboot-6878bbdd7bb522f87ff097320e95e6a3c67d35f1.tar.gz talos-petitboot-6878bbdd7bb522f87ff097320e95e6a3c67d35f1.zip |
ui/ncurses: define KEY_DC (delete key)
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses')
-rw-r--r-- | ui/ncurses/nc-cui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index bd727a5..0c355cc 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -83,6 +83,7 @@ static void cui_start(void) define_key("OF", KEY_END); define_key("\x1b\x5b\x41", KEY_UP); define_key("\x1b\x5b\x42", KEY_DOWN); + define_key("\x1b\x5b\x33\x7e", KEY_DC); while (getch() != ERR) /* flush stdin */ (void)0; |