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

[ruby/reline] Remove an unused variable

123ea51166
This commit is contained in:
aycabta 2021-01-28 16:25:48 +09:00
parent 433b975fe8
commit ec6929a5dd

View file

@ -466,7 +466,6 @@ class Reline::LineEditor
private def rerender_added_newline(prompt, prompt_width)
scroll_down(1)
new_lines = whole_lines(index: @previous_line_index, line: @line)
@buffer_of_lines[@previous_line_index] = @line
@line = @buffer_of_lines[@line_index]
unless @in_pasting