Core LibraryunreleasedAPI reference

Choose documentation 1

latest

Current version

latest
English

Unreleased libtmux-haskell has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-haskell

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.waitForText
Declared in
LibTmux.Server
Package
libtmux-haskell
Source
src/LibTmux/Server.hs

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 calls
No call edges in the Haskell model.

The 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 4

Types and data waitForText names in its declaration.

tmux command

task material

The tmux commands behind waitForText.

capture-pane run-shell (after a nonmatching capture)

tmux C API

task material

The C declarations in tmux that implement these commands.

Guides

task material

Pages that discuss waitForText.

Esc
Search in

Type to search.

Reference previewOpen reference