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

ruby-changes:67373

From: aycabta <ko1@a...>
Date: Tue, 31 Aug 2021 05:26:57 +0900 (JST)
Subject: [ruby-changes:67373] 32abd38014 (master): [ruby/reline] Autocompletion dialog height 15

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

From 32abd3801482d9bc9388a1e901b2cbd31435cb99 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Tue, 31 Aug 2021 04:14:43 +0900
Subject: [ruby/reline] Autocompletion dialog height 15

https://github.com/ruby/reline/commit/7e18716754
---
 lib/reline.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/reline.rb b/lib/reline.rb
index d462aa9..fd36042 100644
--- a/lib/reline.rb
+++ b/lib/reline.rb
@@ -222,7 +222,7 @@ module Reline https://github.com/ruby/ruby/blob/trunk/lib/reline.rb#L222
         context.clear
         context.push(cursor_pos_to_render, result, pointer)
       end
-      DialogRenderInfo.new(pos: cursor_pos_to_render, contents: result, pointer: pointer)
+      DialogRenderInfo.new(pos: cursor_pos_to_render, contents: result, pointer: pointer, height: 15)
     }
     Reline::DEFAULT_DIALOG_CONTEXT = Array.new
 
-- 
cgit v1.1


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

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