libtmux Reference MCP Search
On this page

tmuxtest.WaitForScreen

View as Markdown

Module
tmuxtest
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/tmuxtest/screen.go
WaitForScreen ( ctx : context.Context , t : testing.TB , pane : tmux.Pane , want : string , match : func(screen []string) bool )
function [source]
function [source]
WaitForScreen

WaitForScreen blocks until the pane's screen satisfies match.

want is the noun phrase used in the failure message.

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

0 declared, 0 inherited

Esc

Type to search.