aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/reline/windows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb
index 746f142bdc..15bc88aec3 100644
--- a/lib/reline/windows.rb
+++ b/lib/reline/windows.rb
@@ -383,7 +383,7 @@ class Reline::Windows
return unless csbi = get_console_screen_buffer_info
buffer_width = csbi[0, 2].unpack1('S')
attributes = csbi[8, 2].unpack1('S')
- _window_left, window_top, _window_right, window_bottom = *csbi[10, 8].unpack('S*')
+ _window_left, window_top, _window_right, window_bottom = *csbi[10,8].unpack('S*')
fill_length = buffer_width * (window_bottom - window_top + 1)
screen_topleft = window_top * 65536
written = 0.chr * 4