# tmux.ParseControlNotification

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/control_notification.go#L76
- **Page:** https://libtmux.org/reference/go/tmux-parsecontrolnotification/

```
tmux.ParseControlNotification(line: []byte) -> (ControlNotification, error)
```

ParseControlNotification parses one newline-free tmux control-mode notification record. It requires exact control framing and a supported kind, returns errors compatible with [ErrMalformedControlNotification] or [ErrUnknownControlNotification], and copies all caller-owned input before returning. It never returns a partial notification.
