Struct tmux_interface::commands::windows_and_panes::select_pane::SelectPane[][src]

pub struct SelectPane<'a>(pub TmuxCommand<'a>);

Make pane target-pane the active pane in window target-window

Manual

tmux ^3.1:

tmux select-pane [-DdeLlMmRUZ] [-T title] [-t target-pane]
(alias: selectp)

tmux ^2.6:

tmux select-pane [-DdeLlMmRU] [-T title] [-t target-pane]
(alias: selectp)

tmux ^2.1:

tmux select-pane [-DdegLlMmRU] [-P style] [-t target-pane]
(alias: selectp)

tmux ^2.0:

tmux select-pane [-DdeLlRU] [-t target-pane]
(alias: selectp)

tmux ^1.5:

tmux select-pane [-DLlRU] [-t target-pane]
(alias: selectp)

tmux ^1.3:

tmux select-pane [-DLRU] [-t target-pane]
(alias: selectp)

tmux ^1.0:

tmux select-pane [-t target-pane]
(alias: selectp)

tmux ^0.8:

tmux select-pane [-p pane-index] [-t target-window]
(alias: selectp)

Implementations

impl<'a> SelectPane<'a>[src]

pub fn new() -> Self[src]

pub fn down(&mut self) -> &mut Self[src]

[-D] - pane below

pub fn disable(&mut self) -> &mut Self[src]

[-d] - disable input

pub fn enable(&mut self) -> &mut Self[src]

[-e] - enable input

pub fn show_style(&mut self) -> &mut Self[src]

[-g] - show the current pane style

pub fn left(&mut self) -> &mut Self[src]

[-L] - pane left

pub fn last(&mut self) -> &mut Self[src]

[-l] - equivalent to last-pane command

pub fn set_marked(&mut self) -> &mut Self[src]

[-M] - clear marked pane

pub fn clear_marked(&mut self) -> &mut Self[src]

[-m] - set marked pane

pub fn right(&mut self) -> &mut Self[src]

[-R] - pane right

pub fn up(&mut self) -> &mut Self[src]

[-U] - pane above

pub fn style<S: Into<Cow<'a, str>>>(&mut self, style: S) -> &mut Self[src]

[-P style] - set the style for a single pane

pub fn title<S: Into<Cow<'a, str>>>(&mut self, title: S) -> &mut Self[src]

[-T title] - title

pub fn target_pane<S: Into<Cow<'a, str>>>(
    &mut self,
    target_pane: S
) -> &mut Self
[src]

[-t target-pane] - target-pane

pub fn output(&self) -> Result<TmuxOutput, Error>[src]

Trait Implementations

impl<'a> Clone for SelectPane<'a>[src]

impl<'a> Debug for SelectPane<'a>[src]

impl<'a> Default for SelectPane<'a>[src]

impl<'a> From<&'_ TmuxCommand<'a>> for SelectPane<'a>[src]

impl<'a> From<TmuxCommand<'a>> for SelectPane<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SelectPane<'a>

impl<'a> Send for SelectPane<'a>

impl<'a> Sync for SelectPane<'a>

impl<'a> Unpin for SelectPane<'a>

impl<'a> UnwindSafe for SelectPane<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.