FormatSubscription
A format tmux expands and reports whenever its value changes.
Source and package
- Qualified name
-
FormatSubscription - Module
- types
- Package
- libtmux
- Source
- packages/libtmux/src/types.ts
-
Description#
Reports arrive as
TmuxSubscriptionEvent. tmux evaluates every subscription at most once per second, so this reports a change rather than every intermediate value.Examples#
{ format: "#{pane_current_command}", name: "cmd", scope: "all-panes" }