aboutsummaryrefslogtreecommitdiff
path: root/cmd-list-keys.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-05 08:45:08 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-05 08:45:08 +0000
commitb58bf49e913e61a4991c35257dd82e5dd4c907a2 (patch)
tree41dda2e503fdbe3fa1e25273556bda7c837af9cf /cmd-list-keys.c
parent80444436f36724cc8ef306391b5b18be604109c8 (diff)
downloadrtmux-b58bf49e913e61a4991c35257dd82e5dd4c907a2.tar.gz
rtmux-b58bf49e913e61a4991c35257dd82e5dd4c907a2.tar.bz2
rtmux-b58bf49e913e61a4991c35257dd82e5dd4c907a2.zip
Switch tty key input over to happen on a read event. This is a bit more
complicated because of escape input, but in that case instead of processing a key immediately, schedule a timer and reprocess the bufer when it expires. This currently assumes that keys will be atomic (ie that if eg F1 is pressed the entire sequence is present in the buffer). This is usually but not always true, a change in the tree format so it can differentiate potential (partial) key sequences will happens soon and will allow this to be fixed.
Diffstat (limited to 'cmd-list-keys.c')
0 files changed, 0 insertions, 0 deletions