diff options
Diffstat (limited to 'lib/reline')
-rw-r--r-- | lib/reline/line_editor.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 3637941209..0584df341c 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -1614,6 +1614,8 @@ class Reline::LineEditor @waiting_proc = nil @cursor_max = calculate_width(@line) @cursor = @byte_pointer = 0 + @rerender_all = true + @cached_prompt_list = nil searcher.resume(-1) when "\C-g".ord if @is_multiline @@ -1657,6 +1659,8 @@ class Reline::LineEditor @waiting_proc = nil @cursor_max = calculate_width(@line) @cursor = @byte_pointer = 0 + @rerender_all = true + @cached_prompt_list = nil searcher.resume(-1) end end |