Server.unlock_channel
Unlock a wait-for channel.
Source and package
- Qualified name
-
libtmux::server:: Server:: unlock _channel - Module
- server
- Declared in
Server- Package
- libtmux
- Source
- crates/libtmux/src/server/channels.rs
-
Description#
Always call this from whatever locked with
Self::lock_channel(), including on an error path: a locker that ends without unlocking can wedge the channel for everyone else.Errors
Returns an error when tmux refuses the channel name.
tmux command#
The tmux commands behind unlock_channel.
tmux C API#
The C declarations in tmux that implement these commands.