Remove unnecessary check
This commit is contained in:
parent
e7c5c60095
commit
7c6bedfe5c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user