diff options
author | aycabta <aycabta@gmail.com> | 2021-01-28 16:25:48 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2021-02-07 05:10:50 +0900 |
commit | ec6929a5ddf2c00ad991484daad7f73cec36f29b (patch) | |
tree | 43593cfaeca479e97dd83ba4811d29e2d2146135 /lib/reline/line_editor.rb | |
parent | 433b975fe88df3eac87dee970f7c46d668774023 (diff) |
[ruby/reline] Remove an unused variable
https://github.com/ruby/reline/commit/123ea51166
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r-- | lib/reline/line_editor.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index ca1df53310..4a635031a3 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -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 |