libtmux Reference MCP Search
On this page

control.ControlMode.send

View as Markdown

Module
control
Declared in
ControlMode
Package
libtmux
Source
crates/libtmux/src/control.rs
send ( self , command : Command ) Result<BlockResult, Error>
method [source]
method [source]
send

Send one command and wait for its result block.

Errors

Returns an error when the command cannot be written as a control-mode line, the connection has closed, or its deadline elapses while queued, being written, or awaiting a response. Cancellation has the same write boundary as ControlSender::send .

0 declared, 0 inherited

Esc

Type to search.