1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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