mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
If escape-time is 0, force to 1 instead - not waiting at all is asking
for problems on some platforms.
This commit is contained in:
parent
74fb959f6d
commit
201a8d8e7e
@ -798,6 +798,8 @@ partial_key:
|
||||
|
||||
/* Get the time period. */
|
||||
delay = options_get_number(global_options, "escape-time");
|
||||
if (delay == 0)
|
||||
delay = 1;
|
||||
tv.tv_sec = delay / 1000;
|
||||
tv.tv_usec = (delay % 1000) * 1000L;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user