diff options
Diffstat (limited to 'ext/curses')
-rw-r--r-- | ext/curses/view2.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curses/view2.rb b/ext/curses/view2.rb index f953cdf7f..18d961921 100644 --- a/ext/curses/view2.rb +++ b/ext/curses/view2.rb @@ -77,7 +77,7 @@ while true result = scroll_down when Curses::KEY_UP, Curses::KEY_CTRL_P result = scroll_up - when Curses::KEY_NPAGE, ? # white space + when Curses::KEY_NPAGE, ?\s # white space for i in 0..($screen.maxy - 2) if( ! scroll_down ) if( i == 0 ) |