Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

tmuxtest.WaitForText

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

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

WaitForText blocks until some line of the pane's screen contains text.

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

Discussed in Capture pane output

0 declared, 0 inherited

Esc

Type to search.