mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
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