Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux-go latest

WaitForShellReady

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.

Source and package
Qualified name
tmuxtest.WaitForShellReady
Package
tmuxtest
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/screen.go
func WaitForShellReady( ctx context.Context, t testing.TB, pane tmux.Pane, )

Description#

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

Parameters

Guides#

Pages that discuss WaitForShellReady.

Esc

Type to search.

Reference previewOpen reference