Skip to content

Commit 03716a4

Browse files
committed
Clear completion journey data when finished
1 parent 7d1c75b commit 03716a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/reline/line_editor.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,6 +1444,7 @@ def input_key(key)
14441444
end
14451445
unless completion_occurs
14461446
@completion_state = CompletionState::NORMAL
1447+
@completion_journey_data = nil
14471448
end
14481449
if not @in_pasting and @just_cursor_moving.nil?
14491450
if @previous_line_index and @buffer_of_lines[@previous_line_index] == @line

0 commit comments

Comments
 (0)