Struct tmux_interface::commands::options::set_option::SetOption [−][src]
pub struct SetOption<'a>(pub TmuxCommand<'a>);
Expand description
Structure for setting a pane/window/session/server option
Manual
tmux ^3.0:
tmux set-option [-aFgopqsuw] [-t target-pane] option value (alias: set)
tmux ^2.6:
tmux set-option [-aFgoqsuw] [-t target-session | target-window] option value (alias: set)
tmux ^1.8:
tmux set-option [-agoqsuw] [-t target-session | target-window] option value (alias: set)
tmux ^1.7:
tmux set-option [-agqsuw] [-t target-session | target-window] option value (alias: set)
tmux ^1.2:
tmux set-option [-agsuw] [-t target-session | target-window] option value (alias: set)
tmux ^1.0:
tmux set-option [-agu] [-t target-session] option value (alias: set)
tmux ^0.8:
tmux set-option [-gu] [-t target-session] option value (alias: set)
Tuple Fields
0: TmuxCommand<'a>
Implementations
[-a]
- value is appended to the existing setting, if the option expects a string or a style
[-o]
- prevents setting an option that is already set
[-u]
- unset an option, so a session inherits the option from the global options
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SetOption<'a>
impl<'a> UnwindSafe for SetOption<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more