aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/bind.expect
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2015-12-22 17:58:38 -0800
committerGravatar Kurtis Rader <krader@skepticism.us>2015-12-22 17:58:38 -0800
commit814cb51eb5dafac779324cf8a9ce4c7894b3af9a (patch)
tree34c6af1975e92d0c3c8793cc0660a5e42fa6f6a4 /tests/bind.expect
parentf029e040473089f46bcb1b8bbafc3be11f97825d (diff)
improve handling of the escape character
Increase the delay between seeing an escape character and giving up on whether additional characters that match a key binding are seen. I'm setting the value to 500 ms to match the readline library. We don't need such a large window for sequences transmitted by a terminal (even over ssh where network delays can be a problem). However, we can't expect humans to reliably press the escape key followed by another key with an inter-char delay of less than ~250 ms based on my testing and research. A value of 500 ms provides a nice experience even for people using "fish_vi_mode" bindings as a half second to switch from insert to normal mode is still fast enough that most people won't even notice. Resolves #1356
Diffstat (limited to 'tests/bind.expect')
0 files changed, 0 insertions, 0 deletions