module libtmux-haskell
LibTmux.Control
Observe tmux control notifications from withControl.
Read from the bounded queue in STM. The enclosing Server retains ownership
of the daemon.
Source and package
- Qualified name
-
LibTmux. Control - Package
- libtmux-haskell
- Source
- src/LibTmux/Control.hs
- LibTmux.Control
Members8 members
Common operations2
- pollControlEvent function Read an available result without waiting.
- readControlEvent function Wait for one queued event or the terminal state. Compose this STM action with application events or an application deadline.
Other members6
- Control data type
- ControlEnd data type A terminal result. Pending events are delivered before this result.
- ControlError data type Opening or retiring the client failed. A cleanup failure can carry a
ControlRecoveryin its exception context. - ControlEvent data type Rename events identify the physical window and carry tmux's serialized name. Other notifications and unsolicited text retain their native bytes.
- ControlOptions data type Set the maximum number of queued events and whether to receive native pane output notifications. The default queue holds 32 events.
- defaultControlOptions function Observe structural notifications with a 32-event queue.
Referenced by
references 1Declarations that take LibTmux.Control as a pointer or callback: a reference, not a call.
- LibTmux module