1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Reline should move to next line after finished in Readline mode

This commit is contained in:
aycabta 2019-05-27 07:00:06 +09:00
parent 29c16b30ce
commit c49796c930

View file

@ -382,6 +382,9 @@ class Reline::LineEditor
line = modify_lines(whole_lines)[@line_index]
if !@is_multiline
render_partial(prompt, prompt_width, line)
scroll_down(1)
Reline::IOGate.move_cursor_column(0)
Reline::IOGate.erase_after_cursor
elsif !finished?
render_partial(prompt, prompt_width, line)
else