Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

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
pub async fn unlock_channel(&self, channel: &str) -> Result< (), Error >

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.

Parameters

tmux command#

The tmux commands behind unlock_channel.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference