FormatSubscription
A format tmux reports changes to, rather than being asked for.
Source and package
- Qualified name
-
FormatSubscription - Package
- libtmux-swift
- Source
- Sources/LibTmux/Watch.swift
- struct FormatSubscription : struct Format
Subscription -
Description#
refresh-client -Bregisters one against a control connection. tmux then reports changed values withSubscriptionChangeat most once a second, without commands, captures or scrollback reads between reports.Requires tmux 3.3a or later, which is this package's floor.
Members5#
- format: let format: String property A tmux format, such as
#{pane_current_command}. - init(name:scope:format:) method
- name: let name: String property What changes are reported under, and what
ControlSession.stopWatching(_:)names. - scope: let scope: Scope property
- Scope: enum Scope enum What tmux evaluates the format against.
Inherited members1 member#
Reached through Equatable.!=(_:_:).
Guides#
Pages that discuss FormatSubscription.