Skip to content

Commit 7b50638

Browse files
committed
Remove unnecessary "*"
1 parent 6009b3e commit 7b50638

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/reline/windows.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ def self.cursor_pos
329329
unless csbi = get_console_screen_buffer_info
330330
return Reline::CursorPos.new(0, 0)
331331
end
332-
x = csbi[4, 2].unpack1('s*')
333-
y = csbi[6, 2].unpack1('s*')
332+
x = csbi[4, 2].unpack1('s')
333+
y = csbi[6, 2].unpack1('s')
334334
Reline::CursorPos.new(x, y)
335335
end
336336

0 commit comments

Comments
 (0)