# SubscriptionChange.init(_:)

- **Module:** SubscriptionChange
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Watch.swift#L91
- **Page:** https://libtmux.org/reference/swift/subscriptionchange-init(_-)/

```
SubscriptionChange.init(_:)(notification: ControlNotification)
```

Reads a `%subscription-changed` notification, or `nil` for any other.

The wire form is `name session window index pane [reserved...] : value`.
tmux documents everything between the pane id and a lone `:` as
reserved, so the `:` is what the value is found by rather than a field
count that a later release would change.
