Struct tmux_interface::commands::tmux_command::TmuxCommand[][src]

pub struct TmuxCommand<'a> {
    pub bin: Cow<'a, str>,
    pub bin_args: Option<Vec<Cow<'a, str>>>,
    pub cmd: Option<Cow<'a, str>>,
    pub cmd_args: Option<Vec<Cow<'a, str>>>,
}
Expand description

Standard tmux command line arguments syntax:

tmux [-2CluvV] [-c shell-command] [-f file] [-L socket-name] [-S socket-path] [command [flags]]

Tmux command line parts:

  • executable (part I) (example: tmux)
  • executable args (part II) (example: [-2CluvV] [-c shell-command] [-f file] [-L socket-name] [-S socket-path])
  • command (part III) (example: [command])
  • command args (part IV) (example: [flags])

Fields

bin: Cow<'a, str>

Tmux executable name, (part I)

bin_args: Option<Vec<Cow<'a, str>>>

Tmux executable arguments (part II)

cmd: Option<Cow<'a, str>>

Tmux command (part III)

cmd_args: Option<Vec<Cow<'a, str>>>

Tmux command arguments (part IV)

Implementations

man tmux

Manual

tmux ^2.1:

tmux [-2CluvV] [-c shell-command] [-f file] [-L socket-name] [-S socket-path] [command [flags]]

tmux ^1.9:

tmux [-2lCquvV] [-c shell-command] [-f file] [-L socket-name] [-S socket-path] [command [flags]]

tmux ^1.8:

tmux [-28lCquvV] [-c shell-command] [-f file] [-L socket-name] [-S socket-path] [command [flags]

tmux ^1.4:

tmux [-28lquvV] [-c shell-command] [-f file] [-L socket-name] [-S socket-path] [command [flags]]

tmux ^1.1:

tmux [-28lquv] [-c shell-command] [-f file] [-L socket-name] [-S socket-path] [command [flags]]

tmux ^1.0:

tmux [-28dlqUuv] [-f file] [-L socket-name] [-S socket-path] [command [flags]]

tmux ^0.9:

tmux [-28dqUuv] [-f file] [-L socket-name] [-S socket-path] [command [flags]]

tmux ^0.8:

tmux [-28dqUuVv] [-f file] [-L socket-name] [-S socket-path] [command [flags]]

[-2] - Force tmux to assume the terminal supports 256 colours

[-C] - Start in control mode

[-CC] - Disable echo

[-l] - Behave as a login shell

[-u] - Write UTF-8 output to the terminal

[-v] - Request verbose logging

[-V] - Report the tmux version

[-c shell-command] - Execute shell-command using the default shell

[-f file] - Specify an alternative configuration file

[-L socket-name] - Allow a different socket name to be specified

[-S socket-path] - Specify a full alternative path to the server socket

set tmux binary name

set tmux command name

run tmux command

insert a single flag (-x)

insert an option, flag and value (-x <VALUE>)

insert a single parameter ([VALUE])

All functions from man tmux “Buffers” listed below (man tmux)

All functions from man tmux “Clients and Sessions” listed below (man tmux)

All functions from man tmux “Global and session environment” listed below (man tmux)

All functions from man tmux “Hooks” listed below (man tmux)

All functions from man tmux “Key Bindings” listed below (man tmux)

All functions from man tmux “Miscellaneous” listed below (man tmux)

All functions from man tmux “Options” listed below (man tmux)

All functions from man tmux “Status line” listed below (man tmux)

All functions from man tmux “Windows and Panes” listed below (man tmux)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.