diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/reline/line_editor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 8071080ccf..55a5faf82f 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -766,7 +766,7 @@ class Reline::LineEditor end def input_key(key) - if key.nil? or key.char.nil? + if key.char.nil? if @first_char @line = nil end |