Skip to content

Commit b42c098

Browse files
committed
Initialize @trap_key to suppress warning
1 parent 1b00cae commit b42c098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/reline/line_editor.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ def initialize(name, config, proc_scope)
576576
@proc_scope = proc_scope
577577
@width = nil
578578
@scroll_top = 0
579+
@trap_key = nil
579580
end
580581

581582
def set_cursor_pos(col, row)

0 commit comments

Comments
 (0)