# tmuxtest.WaitForShellReady

- **Module:** tmuxtest
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/tmuxtest/screen.go#L103
- **Page:** https://libtmux.org/en/go/latest/reference/tmuxtest-waitforshellready/

```
tmuxtest.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.

[RunInPane] calls it, and a test building its own pane should too.
