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

Client.detach

Detach this client from its server.

Source and package
Qualified name
libtmux::client::Client::detach
Module
client
Declared in
Client
Package
libtmux
Source
crates/libtmux/src/client.rs
pub async fn detach(self) -> Result<(), Error>

Description#

This consumes the handle: the client is gone once it detaches.

Errors

Returns an error when tmux refuses the command.

tmux command#

The tmux commands behind detach.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference