diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-11-05 08:45:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-11-05 08:45:09 +0000 |
commit | c821c4e927a4ba76c998a967a8359138017a6845 (patch) | |
tree | 0e42eefc98a91d89b32e9dff637a89fe006dbcd0 /usr.bin/tmux/paste.c | |
parent | 5210a0b5123c35018c558ab47cd81a260cb427a1 (diff) |
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 'usr.bin/tmux/paste.c')
0 files changed, 0 insertions, 0 deletions