libtmux Reference MCP Search
On this page

control.ControlSender.unsubscribe

View as Markdown

Module
control
Declared in
ControlSender
Package
libtmux
Source
crates/libtmux/src/control.rs
unsubscribe ( self , name : &str ) Result<(), Error>
method [source]
method [source]
unsubscribe

Stop reporting a format this connection subscribed to.

tmux removes a subscription when it is named with no colon after it, which is why this cannot be spelled as Self::subscribe with an empty format: that would replace the subscription rather than remove it.

Errors

Returns an error when the connection has closed, tmux refuses the request, or the name is empty or contains a colon.

0 declared, 0 inherited

Esc

Type to search.