aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2022-01-12 19:46:33 +0900
committergit <svn-admin@ruby-lang.org>2022-01-16 22:09:31 +0900
commit921ff739df14c705491d75435c5e5ce31e2ed553 (patch)
treec57d34da85479720c32ff301f0df48c917c12d9d /lib
parentd1e078e71c7a1dcd20c372d4a50b81ea647311e4 (diff)
downloadruby-921ff739df14c705491d75435c5e5ce31e2ed553.tar.gz
[ruby/reline] Insert newline in the middle of buffer just after dialog
https://github.com/ruby/reline/commit/0c76631132
Diffstat (limited to 'lib')
-rw-r--r--lib/reline/line_editor.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb
index 70be8ac27a..82bd36d4b3 100644
--- a/lib/reline/line_editor.rb
+++ b/lib/reline/line_editor.rb
@@ -476,6 +476,7 @@ class Reline::LineEditor
@just_cursor_moving = false
return
elsif @previous_line_index or new_highest_in_this != @highest_in_this
+ clear_dialog_with_content
rerender_changed_current_line
@previous_line_index = nil
rendered = true