aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-15 18:37:34 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-15 18:37:34 +0000
commitdad93fef8bb1a02b8c9a5f91c9d12574bab4ff7a (patch)
tree7becd4d340d33e5c3f3a565965fcf525d702de71
parentvim_mode: Don't emit 'setup changed' signal. (diff)
downloadirssi-scripts-dad93fef8bb1a02b8c9a5f91c9d12574bab4ff7a.tar.gz
irssi-scripts-dad93fef8bb1a02b8c9a5f91c9d12574bab4ff7a.zip
vim_mode: Clear count when an unknown mapping is encountered.
-rw-r--r--vim-mode/vim_mode.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 9a6e5bc..9be7ed9 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -2291,6 +2291,7 @@ sub handle_command_cmd {
} else {
print "No mapping found for $char" if DEBUG;
$pending_map = undef;
+ $numeric_prefix = undef;
return 1; # call _stop()
}