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

ruby-changes:67367

From: aycabta <ko1@a...>
Date: Tue, 31 Aug 2021 05:24:57 +0900 (JST)
Subject: [ruby-changes:67367] b30be9f222 (master): [ruby/irb] Take dialog to get scroll_top

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

From b30be9f22231883b3cb32dac915d967c0fc9220f Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Tue, 31 Aug 2021 04:27:20 +0900
Subject: [ruby/irb] Take dialog to get scroll_top

https://github.com/ruby/irb/commit/7209082a11
---
 lib/irb/input-method.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb
index 5fe248d..b28dede 100644
--- a/lib/irb/input-method.rb
+++ b/lib/irb/input-method.rb
@@ -322,7 +322,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/input-method.rb#L322
       if just_cursor_moving and completion_journey_data.nil?
         return nil
       end
-      cursor_pos_to_render, result, pointer = context.pop(3)
+      cursor_pos_to_render, result, pointer, dialog = context.pop(4)
       return nil if result.nil? or pointer.nil? or pointer < 0
       name = result[pointer]
       name = IRB::InputCompletor.retrieve_completion_data(name, doc_namespace: true)
-- 
cgit v1.1


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

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