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:
parent
29c16b30ce
commit
c49796c930
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue