On this page
FormatSubscription
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Watch.swift
- struct FormatSubscription : struct FormatSubscription
-
A format tmux reports changes to, rather than being asked for.
refresh-client -Bregisters one against a control connection. tmux then evaluates the format about once a second and sendsSubscriptionChangewhenever the value differs from the last one it sent — so "has the foreground command changed?" costs no commands, no captures, and no scrollback at all.Requires tmux 3.2 or later, which is this package's floor.
6 declared, 0 inherited
Members
- Scope enum What tmux evaluates the format against.
- !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
- init(name:scope:format:) method
- format property A tmux format, such as
#{pane_current_command}. - name property What changes are reported under, and what
ControlSession/stopWatching(_:)names. - scope property