waitForText
Observe a nonempty, case-sensitive substring in an exact pane. The first capture runs immediately. After a nonmatch, check liveness and wait up to 100 ms before the next capture. One deadline covers every request.
Source and package
- Qualified name
-
LibTmux .Server. wait For Text - Declared in
LibTmux.Server- Package
- libtmux-haskell
- Source
- src/LibTmux/Server.hs
- waitForText :: Server -> Pane
Ref -> PaneWait -> Text -> IO PaneOptions Wait Result -
Description
A fresh match requires absence followed by presence or an additional occurrence. Moving a match and repainting identical text provide no new evidence. A match can include terminal echo. Cancellation preserves its exception class and any in-flight
CaptureRecovery.
Recorded calls
source callsThe Haskell reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Server.waitForText.
Referenced declarations
type references 4Types and data waitForText names in its declaration.
- LibTmux.Snapshot.PaneRef data type
- LibTmux.Server.PaneWaitOptions data type
- LibTmux.Server.PaneWaitResult data type
- LibTmux.Server.Server data type
tmux command
task materialThe tmux commands behind waitForText.
capture-pane run-shell (after a nonmatching capture) tmux C API
task materialThe C declarations in tmux that implement these commands.
Guides
task materialPages that discuss waitForText.