Remove unnecessary check

This commit is contained in:
aycabta 2019-11-18 03:23:45 +09:00
parent e7c5c60095
commit 7c6bedfe5c

View File

@ -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