From 2ff7db1b36e4f976e4e24e56e996b9128f131141 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 28 Feb 2020 14:46:08 +0900 Subject: [PATCH] Use a more robust way to check if the shell is ready --- test/test_go.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_go.rb b/test/test_go.rb index a1fd135..9a24288 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -175,7 +175,7 @@ class Tmux tries = 0 begin self.until do |lines| - send_keys 'C-u', 'hello' + send_keys ' ', 'C-u', 'hello', :Left, :Right lines[-1].end_with?('hello') end rescue StandardError