libtmux Reference MCP Search
On this page

command.Command.targeting

View as Markdown

Module
command
Declared in
Command
Package
libtmux
Source
crates/libtmux/src/command.rs
targeting ( mut , target : impl Into<OsString> ) Self
method [source]
method [source]
targeting

Return this command with -t target placed after the subcommand.

Placed there rather than appended because tmux stops reading flags at the first positional: a target after one is not a target at all. It is taken as text, and the command succeeds having done the wrong thing -- send-keys -- echo hi -t work types echohi-tc into whichever pane was current.

0 declared, 0 inherited

Esc

Type to search.