1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Remove unnecessary "*"

7b50638e24
This commit is contained in:
aycabta 2021-12-15 10:18:37 +09:00 committed by git
parent 7f2123bc08
commit 1c49d809f4

View file

@ -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