Struct tmux_interface::commands::windows_and_panes::choose_tree::ChooseTree [−][src]
Put a pane into tree mode, where a session, window or pane may be chosen interactively from a list
Manual
tmux ^3.1:
tmux choose-tree [-GNrswZ] [-F format] [-f filter] [-O sort-order] [-t target-pane] [template]
tmux ^2.7:
tmux choose-tree [-GNswZ] [-F format] [-f filter] [-O sort-order] [-t target-pane] [template]
tmux ^2.6:
tmux choose-tree [-Nsw] [-F format] [-f filter] [-O sort-order] [-t target-pane] [template]
tmux ^1.8:
tmux choose-tree [-suw] [-b session-template] [-c window-template] [-S format] [-W format]
[-t target-window]
tmux ^1.7:
tmux choose-tree [-sw] [-b session-template] [-c window-template] [-S format] [-W format]
[-t target-window]
Implementations
impl<'a> ChooseTree<'a>
[src]
pub fn new() -> Self
[src]
pub fn all(&mut self) -> &mut Self
[src]
[-G]
- include all sessions in any session groups in the tree rather than only the first
pub fn without_preview(&mut self) -> &mut Self
[src]
[-N]
- start without the preview
pub fn collapsed_sessions(&mut self) -> &mut Self
[src]
[-s]
- start with collapsed sessions
pub fn collapsed_windows(&mut self) -> &mut Self
[src]
[-w]
- start with collapsed windows
pub fn zoom(&mut self) -> &mut Self
[src]
[-Z]
- zoom the pane
pub fn format<S: Into<Cow<'a, str>>>(&mut self, format: S) -> &mut Self
[src]
[-F format]
- format
pub fn filter<S: Into<Cow<'a, str>>>(&mut self, filter: S) -> &mut Self
[src]
[-f filter]
- filter
pub fn sort_order<S: Into<Cow<'a, str>>>(&mut self, sort_order: S) -> &mut Self
[src]
[-O sort-order]
- specifies the initial sort field
pub fn target_pane<S: Into<Cow<'a, str>>>(
&mut self,
target_pane: S
) -> &mut Self
[src]
&mut self,
target_pane: S
) -> &mut Self
[-t target-pane]
- target-pane
pub fn template<S: Into<Cow<'a, str>>>(&mut self, template: S) -> &mut Self
[src]
[template]
- template
pub fn output(&self) -> Result<TmuxOutput, Error>
[src]
Trait Implementations
impl<'a> Clone for ChooseTree<'a>
[src]
fn clone(&self) -> ChooseTree<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for ChooseTree<'a>
[src]
impl<'a> Default for ChooseTree<'a>
[src]
impl<'a> From<&'_ TmuxCommand<'a>> for ChooseTree<'a>
[src]
fn from(item: &TmuxCommand<'a>) -> Self
[src]
impl<'a> From<TmuxCommand<'a>> for ChooseTree<'a>
[src]
fn from(item: TmuxCommand<'a>) -> Self
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for ChooseTree<'a>
impl<'a> Send for ChooseTree<'a>
impl<'a> Sync for ChooseTree<'a>
impl<'a> Unpin for ChooseTree<'a>
impl<'a> UnwindSafe for ChooseTree<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,