diff options
| author | aycabta <aycabta@gmail.com> | 2021-08-28 02:29:35 +0900 |
|---|---|---|
| committer | aycabta <aycabta@gmail.com> | 2021-08-29 20:30:33 +0900 |
| commit | d41d41da382bd76fc99f62ed12ddd2c8e688b0e0 (patch) | |
| tree | 097c9465c13fe4cdfe227f7c5e6a87ae5d5d4dc1 /lib | |
| parent | 6273b9bb6207901fcd5fc6c0cb5ec97dbf0bc139 (diff) | |
[ruby/reline] Clear completion journey data when finished
https://github.com/ruby/reline/commit/03716a411e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/reline/line_editor.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 5f39b74774..e81cd23f2a 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -1444,6 +1444,7 @@ class Reline::LineEditor end unless completion_occurs @completion_state = CompletionState::NORMAL + @completion_journey_data = nil end if not @in_pasting and @just_cursor_moving.nil? if @previous_line_index and @buffer_of_lines[@previous_line_index] == @line |
