Remove unnecessary check
This commit is contained in:
parent
e7c5c60095
commit
7c6bedfe5c
@ -766,7 +766,7 @@ class Reline::LineEditor
|
|||||||
end
|
end
|
||||||
|
|
||||||
def input_key(key)
|
def input_key(key)
|
||||||
if key.nil? or key.char.nil?
|
if key.char.nil?
|
||||||
if @first_char
|
if @first_char
|
||||||
@line = nil
|
@line = nil
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user