Remove unnecessary variable in LineEditor
This commit is contained in:
parent
c00d805672
commit
c48d9139d4
@ -407,7 +407,6 @@ class Reline::LineEditor
|
|||||||
move_cursor_up(@started_from)
|
move_cursor_up(@started_from)
|
||||||
@started_from = calculate_height_by_width(prompt_width + @cursor) - 1
|
@started_from = calculate_height_by_width(prompt_width + @cursor) - 1
|
||||||
end
|
end
|
||||||
index = 0
|
|
||||||
is_prompt = true
|
is_prompt = true
|
||||||
Reline::IOGate.move_cursor_column(0)
|
Reline::IOGate.move_cursor_column(0)
|
||||||
visual_lines.each do |line|
|
visual_lines.each do |line|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user