mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
Use a more robust way to check if the shell is ready
This commit is contained in:
@@ -175,7 +175,7 @@ class Tmux
|
|||||||
tries = 0
|
tries = 0
|
||||||
begin
|
begin
|
||||||
self.until do |lines|
|
self.until do |lines|
|
||||||
send_keys 'C-u', 'hello'
|
send_keys ' ', 'C-u', 'hello', :Left, :Right
|
||||||
lines[-1].end_with?('hello')
|
lines[-1].end_with?('hello')
|
||||||
end
|
end
|
||||||
rescue StandardError
|
rescue StandardError
|
||||||
|
|||||||
Reference in New Issue
Block a user