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

tmuxtest.WaitForShellReady

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
WaitForShellReady ( ctx : context.Context , t : testing.TB , pane : tmux.Pane )
function [source]
function [source]
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.

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

Discussed in Sending keys

0 declared, 0 inherited

Esc

Type to search.