mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-10 15:50:56 +00:00
Use a more robust way to check if the shell is ready
This commit is contained in:
parent
9f0626da64
commit
2ff7db1b36
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user