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

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

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 ControlRecovery in 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 1

Declarations that take LibTmux.Control as a pointer or callback: a reference, not a call.

Esc
Search in

Type to search.

Reference previewOpen reference