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

[ruby/reline] Initialize @trap_key to suppress warning

b42c0980d9
This commit is contained in:
aycabta 2021-10-03 21:37:48 +09:00 committed by git
parent bf4f3ef5ad
commit 6cb37d4136

View file

@ -576,6 +576,7 @@ class Reline::LineEditor
@proc_scope = proc_scope @proc_scope = proc_scope
@width = nil @width = nil
@scroll_top = 0 @scroll_top = 0
@trap_key = nil
end end
def set_cursor_pos(col, row) def set_cursor_pos(col, row)