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.

interface libtmux-ts latest

TmuxSubscriptionEvent

A subscribed format expanded to a new value.

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

Description#

tmux evaluates a subscription at most once per second and reports only when the value differs from the last report for that object; the first evaluation always reports. windowId, windowIndex and paneId are the object the value was expanded against, and are absent for a session-scope subscription.

The value is written raw, so a format expanding to a newline arrives as further lines this parser cannot attribute. Keep a subscribed format on one line.

Members7#

Esc

Type to search.

Reference previewOpen reference