aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-02 15:45:53 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-02 15:45:53 +0000
commit45796c4b3e7f60f9f7ec34b7379fcaf8165873f0 (patch)
treebbc76c835a0e06a91134108c24d24e0ad7c37a64 /vim-mode/vim_mode.pl
parentvim_mode: Fix r with count. (diff)
downloadirssi-scripts-45796c4b3e7f60f9f7ec34b7379fcaf8165873f0.tar.gz
irssi-scripts-45796c4b3e7f60f9f7ec34b7379fcaf8165873f0.zip
vim_mode: Fix ~ at end of the line.
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r--vim-mode/vim_mode.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index d01c5dc..e43b562 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -1056,7 +1056,7 @@ sub cmd_movement_tilde {
substr $input, $pos, $count, $string;
_input($input);
- return (undef, $pos + $count);
+ return (undef, _fix_input_pos($pos + $count, length $input));
}
sub cmd_movement_semicolon {