diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-15 18:57:00 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-15 18:57:00 +0000 |
commit | 3102e11d2948305f7104ead25cf5398f280903b9 (patch) | |
tree | 9749b1174ad86cc424e39064e5c2a7eda8205cd4 /vim-mode | |
parent | vim_mode: Honor 'start_cmd' on startup. (diff) | |
download | irssi-scripts-3102e11d2948305f7104ead25cf5398f280903b9.tar.gz irssi-scripts-3102e11d2948305f7104ead25cf5398f280903b9.zip |
vim_mode: Aborting command also updates partial command.
Reported by estragib.
Diffstat (limited to 'vim-mode')
-rw-r--r-- | vim-mode/vim_mode.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 48b7143..5e23c02 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -2866,8 +2866,6 @@ sub _update_mode { # Make sure prompt is cleared when leaving ex mode. } elsif ($mode == M_EX and $new_mode != M_EX) { _set_prompt(''); - - $partial_command = ''; } $mode = $new_mode; @@ -2884,6 +2882,7 @@ sub _update_mode { $register = '"'; $pending_map = undef; + $partial_command = ''; # Also clear ex-mode buffer. @ex_buf = (); |