mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Wait for the process to be started in start_terminal
https://github.com/ruby/reline/commit/d29d33dcf5
This commit is contained in:
parent
62666a6bbd
commit
092c253bff
1 changed files with 3 additions and 0 deletions
|
@ -168,6 +168,7 @@ begin
|
|||
set emacs-mode-string [emacs]
|
||||
LINES
|
||||
start_terminal(5, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/bin/multiline_repl})
|
||||
sleep 0.5
|
||||
close
|
||||
assert_screen(<<~EOC)
|
||||
Multiline REPL.
|
||||
|
@ -181,6 +182,7 @@ begin
|
|||
set emacs-mode-string "[emacs]"
|
||||
LINES
|
||||
start_terminal(5, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/bin/multiline_repl})
|
||||
sleep 0.5
|
||||
close
|
||||
assert_screen(<<~EOC)
|
||||
Multiline REPL.
|
||||
|
@ -196,6 +198,7 @@ begin
|
|||
set vi-cmd-mode-string "{CmD}"
|
||||
LINES
|
||||
start_terminal(5, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/bin/multiline_repl})
|
||||
sleep 0.5
|
||||
write(":a\n\C-[k")
|
||||
close
|
||||
assert_screen(<<~EOC)
|
||||
|
|
Loading…
Reference in a new issue