diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-08 19:22:24 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-08 19:22:24 +0000 |
commit | 7a8b3aa0ea4571c278d68cea51c4ccd10fc7a011 (patch) | |
tree | e53974ebe1810b69baa0dbf258ffec936a27cdbe /vim-mode | |
parent | vim_mode: Add undo/redo positions to known bugs. (diff) | |
download | irssi-scripts-7a8b3aa0ea4571c278d68cea51c4ccd10fc7a011.tar.gz irssi-scripts-7a8b3aa0ea4571c278d68cea51c4ccd10fc7a011.zip |
vim_mode: Fix display of 'more' statusbar when scrolling.
Reported by estragib.
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 28e254d..feea4c6 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1300,6 +1300,8 @@ sub cmd_ctrl_d { $count = $window->{height} / 2; } $window->view()->scroll($count); + + Irssi::statusbar_items_redraw('more'); return (undef, undef); } sub cmd_ctrl_u { @@ -1311,6 +1313,8 @@ sub cmd_ctrl_u { $count = $window->{height} / 2; } $window->view()->scroll($count * -1); + + Irssi::statusbar_items_redraw('more'); return (undef, undef); } sub cmd_ctrl_f { @@ -1318,13 +1322,14 @@ sub cmd_ctrl_f { my $window = Irssi::active_win(); $window->view()->scroll($count * $window->{height}); + + Irssi::statusbar_items_redraw('more'); return (undef, undef); } sub cmd_ctrl_b { my ($count, $pos, $repeat) = @_; - cmd_ctrl_f($count * -1, $pos, $repeat); - return (undef, undef); + return cmd_ctrl_f($count * -1, $pos, $repeat); } sub cmd_ctrl_wj { |