libtmux Reference MCP Search
On this page

LibTmux.Testing.TmuxWait

View as Markdown

Module
LibTmux.Testing
Package
LibTmux
Source
src/LibTmux/Testing/TmuxWait.cs
class LibTmux.Testing.TmuxWait
classstatic [source]
classstatic [source]
class LibTmux.Testing.TmuxWait

Waits for tmux to reach a state instead of sleeping.

tmux answers a command as soon as it has accepted it, not once the effect has landed, so a test that acts and then reads immediately is racing the server. A fixed delay only hides that on an idle machine; waiting for the state itself is what makes the test say what it means.

1 declared, 0 inherited

Members

  • UntilAsync method Waits until a probe reports the state was reached.
Esc

Type to search.