class Reline::LineEditor
def clear_screen_buffer(prompt, prompt_list, prompt_width)
def clear_screen_buffer(prompt, prompt_list, prompt_width) ::IOGate.clear_screen 0 _lines(whole_lines).each_with_index do |line, index| prompt_proc = prompt_list[index] ight = render_partial(pr, calculate_width(pr), line, back, with_control: false) ight = render_partial(prompt, prompt_width, line, back, with_control: false) ndex < (@buffer_of_lines.size - 1) ve_cursor_down(1) ck += height ursor_up(back) ursor_down(@first_line_started_from + @started_from) height = (Reline::IOGate.get_screen_size.first - 1) - Reline::IOGate.cursor_pos.y ::IOGate.move_cursor_column((prompt_width + @cursor) % @screen_size.last)