aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-12-20 14:51:05 +0900
committergit <svn-admin@ruby-lang.org>2021-12-20 14:50:41 +0900
commita856489be63f78b137cb2517c9d812a911d58fbe (patch)
tree9f120d0fd2b9e523c6eff8a06f8c8665778cecf3
parent7dd0e91cac44a2bee298892c4f647675d6a22d5d (diff)
downloadruby-a856489be63f78b137cb2517c9d812a911d58fbe.tar.gz
[ruby/reline] Revert "Add a space after a comma"
This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7. To merge a Pull Request... https://github.com/ruby/reline/commit/83021f4267
-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