Skip to content

Commit bb6ea23

Browse files
committed
Remove TODO comment in #render_partial
1 parent 3a6281e commit bb6ea23

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/reline/line_editor.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,6 @@ def just_move_cursor
678678
private def render_partial(prompt, prompt_width, line_to_render, this_started_from, with_control: true)
679679
visual_lines, height = split_by_width(line_to_render.nil? ? prompt : prompt + line_to_render, @screen_size.last)
680680
cursor_up_from_last_line = 0
681-
# TODO: This logic would be sometimes buggy if this logical line isn't the current @line_index.
682681
if @scroll_partial_screen
683682
last_visual_line = this_started_from + (height - 1)
684683
last_screen_line = @scroll_partial_screen + (@screen_height - 1)

0 commit comments

Comments
 (0)