diff options
author | aycabta <aycabta@gmail.com> | 2019-05-22 07:03:29 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-05-22 07:03:29 +0900 |
commit | c48d9139d4a979e534c1522d2a09ec2a440a8e9a (patch) | |
tree | 598a3501f00409688a8deea9f2c026c65bcdfb7c /lib | |
parent | c00d8056729b72724b86b0f0412c6f2ca9fd1318 (diff) |
Remove unnecessary variable in LineEditor
Diffstat (limited to 'lib')
-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 202d337806..a3b684de22 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -407,7 +407,6 @@ class Reline::LineEditor move_cursor_up(@started_from) @started_from = calculate_height_by_width(prompt_width + @cursor) - 1 end - index = 0 is_prompt = true Reline::IOGate.move_cursor_column(0) visual_lines.each do |line| |