]> git.proxmox.com Git - mirror_qemu.git/commit - ui/curses.c
Reduce curses escdelay from 1s to 25ms
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 3 Mar 2019 17:25:57 +0000 (18:25 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 11 Mar 2019 07:39:01 +0000 (08:39 +0100)
commit633786fea79391c9cbf0d77cc028fa5c14d76657
tree48437b97a06fedaa88d02c08efbd788e798bb5e7
parente2a18635a400b0e68679614132e9ef6316105590
Reduce curses escdelay from 1s to 25ms

By default, curses will only report single ESC key event after 1s delay,
since ESC is also used for keypad escape sequences. This however makes
users believe that ESC is not working. Reducing to 25ms provides good user
experience, while still allowing 25ms for keypad sequences to get in, which
should be enough.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Message-Id: <20190303172557.17139-1-samuel.thibault@ens-lyon.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/curses.c