[前][次][番号順一覧][スレッド一覧]

ruby-changes:70336

From: aycabta <ko1@a...>
Date: Mon, 20 Dec 2021 14:50:51 +0900 (JST)
Subject: [ruby-changes:70336] a856489be6 (master): [ruby/reline] Revert "Add a space after a comma"

https://git.ruby-lang.org/ruby.git/commit/?id=a856489be6

From a856489be63f78b137cb2517c9d812a911d58fbe Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Mon, 20 Dec 2021 14:51:05 +0900
Subject: [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
---
 lib/reline/windows.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb
index 746f142bdc2..15bc88aec3d 100644
--- a/lib/reline/windows.rb
+++ b/lib/reline/windows.rb
@@ -383,7 +383,7 @@ class Reline::Windows https://github.com/ruby/ruby/blob/trunk/lib/reline/windows.rb#L383
     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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]