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

WaitForLine

WaitForLine blocks until some line of the pane's screen is exactly line. The echo of a typed command is a line too; see WaitForText.

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

Description#

A pane that never shows line fails the test with the screen it last read.

Parameters

Guides#

Pages that discuss WaitForLine.

Esc

Type to search.

Reference previewOpen reference