pattern
(default) — a regex appears on screen: the reliable primitive when you know what you're waiting for.
How to use it
pattern is exposed by the Terminal Driver MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the pattern tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Terminal Driver MCP
claude mcp add terminal --scope user -- npx -y terminal-driver-mcpOther tools in Terminal Driver MCP (3)
the session's process terminates (after :q, ctrl+d, …).
/ stablescreen — output goes quiet / the rendered text stops changing for idlems. Best-effort: continuously-animating UIs (spinners, progress bars, htop) never settle, so these run to timeout — which still returns the current screen, plus a hint to switch to a pattern wait.
the regex stops matching: wait for a spinner/dialog/just-deleted row to clear without racing the redraw.