Versions in this module Expand all Collapse all v1 v1.8.0 Dec 1, 2026 Changes in this version + const MaxBody + const MaxTitle + func Passthrough(seq string) string + func Sequence(p Protocol, title, body string) string + type Notifier struct + func ForTerminal(w io.Writer) *Notifier + func New(w io.Writer, p Protocol, tmux bool) *Notifier + func (n *Notifier) Idle() time.Duration + func (n *Notifier) Notify(title, body string) + func (n *Notifier) Protocol() Protocol + func (n *Notifier) Seen() + type Protocol int + const Bell + const OSC777 + const OSC9 + const OSC99 + const Off + func Detect(env func(string) string) Protocol + func DetectTmux(env func(string) string, t Tmux) Protocol + func Parse(s string) (Protocol, bool) + func (p Protocol) String() string + type Tmux struct + Passthrough string + TermName string + TermType string + func AskTmux(env func(string) string) Tmux