mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Move cursor just after the last line when finished
ba06e4c480
This commit is contained in:
parent
08162f0e69
commit
a608bb3e9b
1 changed files with 1 additions and 0 deletions
|
@ -429,6 +429,7 @@ class Reline::LineEditor
|
|||
line = modify_lines(whole_lines)[@line_index]
|
||||
prompt, prompt_width, prompt_list = check_multiline_prompt(whole_lines, prompt)
|
||||
render_partial(prompt, prompt_width, line, @first_line_started_from)
|
||||
move_cursor_down(@highest_in_all - (@first_line_started_from + @highest_in_this - 1) - 1)
|
||||
scroll_down(1)
|
||||
Reline::IOGate.move_cursor_column(0)
|
||||
Reline::IOGate.erase_after_cursor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue