diff options
author | YO4 <ysno@ac.auone-net.jp> | 2021-12-27 19:17:33 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-12-30 20:53:21 +0900 |
commit | 31c69d66d2200566695a0c88dd68cdd04a77614d (patch) | |
tree | 4821168c5872a3d45a2b153845d14220d618b387 /lib/reline/windows.rb | |
parent | 2a311594cc02eace6122d7e5715ae7ac61bc40a7 (diff) |
[ruby/reline] windows fix scroll
https://github.com/ruby/reline/commit/c559d0f7a9
Diffstat (limited to 'lib/reline/windows.rb')
-rw-r--r-- | lib/reline/windows.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb index f46ebd2109..f064472ce7 100644 --- a/lib/reline/windows.rb +++ b/lib/reline/windows.rb @@ -386,7 +386,7 @@ class Reline::Windows def self.scroll_down(val) return if val < 0 return unless csbi = get_console_screen_buffer_info - buffer_width, x, y, buffer_lines, attributes, window_left, window_top, window_bottom = csbi.unpack('ssssSssx2s') + buffer_width, buffer_lines, x, y, attributes, window_left, window_top, window_bottom = csbi.unpack('ssssSssx2s') screen_height = window_bottom - window_top + 1 val = screen_height if val > screen_height |