From 1c49d809f470de74d5697ce2e23a830b12f2c686 Mon Sep 17 00:00:00 2001 From: aycabta Date: Wed, 15 Dec 2021 10:18:37 +0900 Subject: [PATCH] [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 82fa72fc25..c7bbedb00f 100644 --- a/lib/reline/windows.rb +++ b/lib/reline/windows.rb @@ -329,8 +329,8 @@ class Reline::Windows 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