diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-30 18:01:54 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-30 18:01:54 +0200 |
commit | 4826ed6443eb85145a9ea916f2017560b81a3b6f (patch) | |
tree | 30d4b50b8d489dd6145dde2b37482dba844f7485 /kbd.c | |
parent | 7a78b0196a1be7c8211102d71c56c8a720e79dd5 (diff) | |
download | fbida-4826ed6443eb85145a9ea916f2017560b81a3b6f.tar.gz |
switch fbi kbd handling to new code
Diffstat (limited to 'kbd.c')
-rw-r--r-- | kbd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -83,7 +83,7 @@ static struct termctrl termctrl[] = { { .seq = "\x07", .code = KEY_G, .mod = KEY_MOD_CTRL }, { .seq = "\x08", .code = KEY_H, .mod = KEY_MOD_CTRL }, { .seq = "\x09", .code = KEY_I, .mod = KEY_MOD_CTRL }, - { .seq = "\x0a", .code = KEY_J, .mod = KEY_MOD_CTRL }, + { .seq = "\x0a", .code = KEY_ENTER }, { .seq = "\x0b", .code = KEY_K, .mod = KEY_MOD_CTRL }, { .seq = "\x0c", .code = KEY_L, .mod = KEY_MOD_CTRL }, { .seq = "\x0d", .code = KEY_M, .mod = KEY_MOD_CTRL }, @@ -116,6 +116,7 @@ static struct termctrl termctrl[] = { { .seq = "\x1b", .code = KEY_ESC }, { .seq = "+", .code = KEY_KPPLUS }, { .seq = "-", .code = KEY_KPMINUS }, + { .seq = "\x7f", .code = KEY_BACKSPACE}, { .seq = "\x1b[A", .code = KEY_UP }, { .seq = "\x1b[B", .code = KEY_DOWN }, |