aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-04-28 20:31:43 +0000
committerTom Feist <shabble@metavore.org>2011-04-28 20:31:43 +0000
commitda9349ba3aed94670dd46df32cb06c5ad9a9097c (patch)
treeb51500990de3ce09c4e9ed4f6ca8c6e34b0fe0e6 /vim-mode
parentvim-mode/vim_mode: added new setting: 'esc_buf_timeout', (diff)
downloadirssi-scripts-da9349ba3aed94670dd46df32cb06c5ad9a9097c.tar.gz
irssi-scripts-da9349ba3aed94670dd46df32cb06c5ad9a9097c.zip
vim-mode/vim_mode: fixed the stupd bugs I missed by not testing. Might possibly
work now.
Diffstat (limited to 'vim-mode')
-rw-r--r--vim-mode/vim_mode.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 7a23d0b..f504a77 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -2704,9 +2704,9 @@ sub got_key {
# NOTE: this timeout might be too low on laggy systems, but
# it comes at the cost of keystroke latency for things that
# contain escape sequences (arrow keys, etc)
- my $esc_buf_timeout = $settings->{input_buf_timeout};
+ my $esc_buf_timeout = $settings->{esc_buf_timeout}->{value};
- $esc_buf_timer
+ $input_buf_timer
= Irssi::timeout_add_once($esc_buf_timeout,
\&handle_input_buffer, undef);