diff options
| author | Tom Feist <shabble@metavore.org> | 2010-10-05 20:41:17 +0000 | 
|---|---|---|
| committer | Tom Feist <shabble@metavore.org> | 2010-10-05 20:41:17 +0000 | 
| commit | 4cb98513c63476ee22650ea564fb89b778e1789d (patch) | |
| tree | 5b2aa99018817d40f9adb559afa99e2d9cea276c /vim-mode | |
| parent | vim_mode: Add #irssi_vim. (diff) | |
| download | irssi-scripts-4cb98513c63476ee22650ea564fb89b778e1789d.tar.gz irssi-scripts-4cb98513c63476ee22650ea564fb89b778e1789d.zip | |
disabled removal of timeout waiting for esc input buffer, since it was a
timeout_once anyway.
Diffstat (limited to 'vim-mode')
| -rw-r--r-- | vim-mode/vim_mode.pl | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 1274e57..3631a1d 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1503,7 +1503,7 @@ sub got_key {          # contain escape sequences (arrow keys, etc)          $input_buf_timer            = Irssi::timeout_add_once(10, \&handle_input_buffer, undef); - +        print "Buffer Timer tag: $input_buf_timer" if DEBUG;      } elsif ($mode == M_INS) {          if ($key == 3) { # Ctrl-C enter command mode              _update_mode(M_CMD); @@ -1568,7 +1568,7 @@ sub got_key {  sub handle_input_buffer { -    Irssi::timeout_remove($input_buf_timer); +    #Irssi::timeout_remove($input_buf_timer);      $input_buf_timer = undef;      # see what we've collected.      print "Input buffer contains: ", join(", ", @input_buf) if DEBUG; | 
