diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb index e44ba040c2..82fa72fc25 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