summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/reline/line_editor.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb
index 71634c2563..1722abc939 100644
--- a/lib/reline/line_editor.rb
+++ b/lib/reline/line_editor.rb
@@ -576,6 +576,7 @@ class Reline::LineEditor
@proc_scope = proc_scope
@width = nil
@scroll_top = 0
+ @trap_key = nil
end
def set_cursor_pos(col, row)