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

WaitForScreen

WaitForScreen blocks until the pane's screen satisfies match.

Source and package
Qualified name
tmuxtest.WaitForScreen
Package
tmuxtest
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/screen.go
func WaitForScreen( ctx context.Context, t testing.TB, pane tmux.Pane, want string, match func(screen []string) bool, )

Description#

want is the noun phrase used in the failure message.

match receives a newly read screen and must not retain it.

Parameters
Esc

Type to search.

Reference previewOpen reference