# LibTmux.ControlModeSubscriptions

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/ControlMode/ControlModeSubscriptions.cs#L16
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-controlmodesubscriptions/

Subscribes a control client to a format changing.

tmux answers <c>refresh-client -B</c> with <c>%subscription-changed</c>
whenever the named format's value changes. There is no typed surface for
building that command otherwise, so a caller renders it by hand - and
tmux 3.8 tightened session-scoped targets: the session id form that fired
on every earlier release (<c>name:$0:format</c>) silently stops firing,
with no error, while an empty session field (<c>name::format</c>) fires
on every released version. This always renders the empty form, so a
session-scoped subscription is never reachable the wrong way.

## Members

- `SubscribeSessionAsync` (method): Subscribes to a session-scoped format changing.
