summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/reline/line_editor.rb1
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|