[前][次][番号順一覧][スレッド一覧]

ruby-changes:67320

From: aycabta <ko1@a...>
Date: Sun, 29 Aug 2021 20:31:08 +0900 (JST)
Subject: [ruby-changes:67320] d41d41da38 (master): [ruby/reline] Clear completion journey data when finished

https://git.ruby-lang.org/ruby.git/commit/?id=d41d41da38

From d41d41da382bd76fc99f62ed12ddd2c8e688b0e0 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Sat, 28 Aug 2021 02:29:35 +0900
Subject: [ruby/reline] Clear completion journey data when finished

https://github.com/ruby/reline/commit/03716a411e
---
 lib/reline/line_editor.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb
index 5f39b74..e81cd23 100644
--- a/lib/reline/line_editor.rb
+++ b/lib/reline/line_editor.rb
@@ -1444,6 +1444,7 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L1444
     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
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]