ruby-changes:70299
From: aycabta <ko1@a...>
Date: Sat, 18 Dec 2021 10:18:44 +0900 (JST)
Subject: [ruby-changes:70299] 1c49d809f4 (master): [ruby/reline] Remove unnecessary "*"
https://git.ruby-lang.org/ruby.git/commit/?id=1c49d809f4 From 1c49d809f470de74d5697ce2e23a830b12f2c686 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Wed, 15 Dec 2021 10:18:37 +0900 Subject: [ruby/reline] Remove unnecessary "*" https://github.com/ruby/reline/commit/7b50638e24 --- lib/reline/windows.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb index 82fa72fc259..c7bbedb00ff 100644 --- a/lib/reline/windows.rb +++ b/lib/reline/windows.rb @@ -329,8 +329,8 @@ class Reline::Windows https://github.com/ruby/ruby/blob/trunk/lib/reline/windows.rb#L329 unless csbi = get_console_screen_buffer_info return Reline::CursorPos.new(0, 0) end - x = csbi[4, 2].unpack1('s*') - y = csbi[6, 2].unpack1('s*') + x = csbi[4, 2].unpack1('s') + y = csbi[6, 2].unpack1('s') Reline::CursorPos.new(x, y) end -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/