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

Remove unused variable in LineEditor

This commit is contained in:
aycabta 2019-05-14 00:03:15 +09:00
parent 79ead821dd
commit 741321704f

View file

@ -881,7 +881,7 @@ class Reline::LineEditor
else
chr = key.is_a?(String) ? key : key.chr(Encoding::ASCII_8BIT)
if chr.match?(/[[:print:]]/)
search_word = searcher.resume(key)
searcher.resume(key)
else
if @history_pointer
@line = Reline::HISTORY[@history_pointer]