diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/reline/line_editor.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index fdeedfc81c..4bf280fcec 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -305,6 +305,7 @@ class Reline::LineEditor @menu_info.list.each do |item| Reline::IOGate.move_cursor_column(0) @output.print item + @output.flush scroll_down(1) end scroll_down(@highest_in_all - 1) @@ -540,6 +541,7 @@ class Reline::LineEditor next end @output.print line + @output.flush if @first_prompt @first_prompt = false @pre_input_hook&.call |