summaryrefslogtreecommitdiff
path: root/lib/reline/windows.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-12-15 10:18:37 +0900
committergit <svn-admin@ruby-lang.org>2021-12-18 10:18:33 +0900
commit1c49d809f470de74d5697ce2e23a830b12f2c686 (patch)
treecbf33e8d975704e12fbbb72e376f9567adde506b /lib/reline/windows.rb
parent7f2123bc080ef2d439e231c23e3f083edc0cb552 (diff)
[ruby/reline] Remove unnecessary "*"
https://github.com/ruby/reline/commit/7b50638e24
Diffstat (limited to 'lib/reline/windows.rb')
-rw-r--r--lib/reline/windows.rb4
1 files 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