tmuxtest.WaitForShellReady
Go
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- tmuxtest
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/tmuxtest/screen.go
- WaitForShellReady ( ctx : context.Context , t : testing.TB , pane : tmux.Pane )
-
WaitForShellReady blocks until the pane first shows output. With
ServerOptions.FixedShell, that expected first output is the harness prompt and serves as readiness evidence; custom shell startup output may not.RunInPanecalls it, and a test building its own pane should too.Discussed in Sending keys
0 declared, 0 inherited