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:
parent
e7c5c60095
commit
7c6bedfe5c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue