diff options
author | Thomas Huth <thuth@redhat.com> | 2016-10-27 14:17:27 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-10-28 11:19:38 +0200 |
commit | 856178852032404dee69665c2dcb65f00b4bb48e (patch) | |
tree | b648bad005b3594c2f9e84adefe65ba80464e584 /ui/curses.c | |
parent | 76d8f93b4a72d02f6af6ff4eda36b7630cd8417b (diff) |
ui/gtk: Fix non-working DELETE key
GTK generates key events for the delete key with key->string[0] = 0x7f
... but this does not work right with the readline_handle_byte()
function in util/readline.c, since this treats the keycode 127 as
backspace. So let's add a special case for the GTK delete key to make
this key behave right in the monitor interface of the GTK ui.
Buglink: https://bugs.launchpad.net/qemu/+bug/1619438
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1477570647-7100-1-git-send-email-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/curses.c')
0 files changed, 0 insertions, 0 deletions