Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

typealias libtmux-ts latest

TmuxEvent

Anything a control-mode connection can deliver, as one discriminated union.

Source and package
Qualified name
TmuxEvent
Module
types
Package
libtmux
Source
packages/libtmux/src/types.ts

Description#

tmux pushes these; nothing here asked for them, and they arrive interleaved with command replies. The union is open in practice — an unrecognised notification arrives as TmuxUnknownEvent rather than being dropped, so a switch should still have a default.

Esc

Type to search.

Reference previewOpen reference