ruby-changes:68271
From: aycabta <ko1@a...>
Date: Tue, 5 Oct 2021 22:33:25 +0900 (JST)
Subject: [ruby-changes:68271] dc8fa2691b (master): [ruby/reline] Reduce window size so that it can be displayed in my desktop
https://git.ruby-lang.org/ruby.git/commit/?id=dc8fa2691b From dc8fa2691b4a3a908cb5f93429754457f063ea49 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Mon, 4 Oct 2021 22:46:03 +0900 Subject: [ruby/reline] Reduce window size so that it can be displayed in my desktop https://github.com/ruby/reline/commit/22359d50ab --- test/reline/yamatanooroti/test_rendering.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/reline/yamatanooroti/test_rendering.rb b/test/reline/yamatanooroti/test_rendering.rb index 8238ccd596..0bcd70700c 100644 --- a/test/reline/yamatanooroti/test_rendering.rb +++ b/test/reline/yamatanooroti/test_rendering.rb @@ -730,7 +730,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/test_rendering.rb#L730 end def test_meta_key - start_terminal(50, 200, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl}, startup_message: 'Multiline REPL.') + start_terminal(30, 20, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl}, startup_message: 'Multiline REPL.') write("def ge\M-bho") close assert_screen(<<~EOC) @@ -740,7 +740,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/test_rendering.rb#L740 end def test_force_enter - start_terminal(50, 200, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl}, startup_message: 'Multiline REPL.') + start_terminal(30, 120, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl}, startup_message: 'Multiline REPL.') write("def hoge\nend\C-p\C-e") write("\M-\x0D") close @@ -755,7 +755,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/test_rendering.rb#L755 def test_with_newline omit if Reline::IOGate.win? cmd = %Q{ruby -e 'print(%Q{abc def \\e\\r})' | ruby -I#{@pwd}/lib -rreline -e 'p Reline.readline(%{> })'} - start_terminal(50, 50, ['bash', '-c', cmd]) + start_terminal(40, 50, ['bash', '-c', cmd]) close assert_screen(<<~'EOC') > abc def -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/