Struct tmux_interface::commands::windows_and_panes::capture_pane::CapturePane [−][src]
Manual
tmux ^3.1:
tmux capture-pane [-aepPqCJN] [-b buffer-name] [-E end-line] [-S start-line] [-t target-pane]
(alias: capturep)
tmux ^2.4:
tmux capture-pane [-aepPqCJ] [-b buffer-name] [-E end-line] [-S start-line] [-t target-pane]
(alias: capturep)
tmux ^1.8:
tmux capture-pane [-aepPq] [-b buffer-name] [-E end-line] [-S start-line] [-t target-pane]
(alias: capturep)
tmux ^1.5:
tmux capture-pane [-b buffer-index] [-E end-line] [-S start-line] [-t target-pane]
(alias: capturep)
tmux ^1.2:
tmux capture-pane [-b buffer-index] [-t target-pane]
(alias: capturep)
Implementations
impl<'a> CapturePane<'a>
[src]
pub fn new() -> Self
[src]
pub fn alternate_screen(&mut self) -> &mut Self
[src]
[-a]
- the alternate screen is used, and the history is not accessible
pub fn escape_sequences(&mut self) -> &mut Self
[src]
[-e]
- the output includes escape sequences for text and background attributes
pub fn stdout(&mut self) -> &mut Self
[src]
[-p]
- the output goes to stdout
pub fn pane(&mut self) -> &mut Self
[src]
[-P]
- capture only any output that the pane has received that is the beginning of an
as-yet incomplete escape sequence
pub fn quite(&mut self) -> &mut Self
[src]
[-q]
- quite
pub fn escape_non_printable(&mut self) -> &mut Self
[src]
[-C]
- escape non-printable characters as octal \xxx
pub fn join(&mut self) -> &mut Self
[src]
[-J]
- preserve trailing spaces and joins any wrapped lines
pub fn buffer_name<S: Into<Cow<'a, str>>>(
&mut self,
buffer_name: S
) -> &mut Self
[src]
&mut self,
buffer_name: S
) -> &mut Self
[-b buffer-name]
- buffer-name
pub fn end_line<S: Into<Cow<'a, str>>>(&mut self, end_line: S) -> &mut Self
[src]
[-E end-line]
- specify the ending line number
pub fn start_line<S: Into<Cow<'a, str>>>(&mut self, start_line: S) -> &mut Self
[src]
[-S start-line]
- specify the starting line number
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]
- specify target-pane
pub fn output(&self) -> Result<TmuxOutput, Error>
[src]
Trait Implementations
impl<'a> Clone for CapturePane<'a>
[src]
fn clone(&self) -> CapturePane<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for CapturePane<'a>
[src]
impl<'a> Default for CapturePane<'a>
[src]
impl<'a> From<&'_ TmuxCommand<'a>> for CapturePane<'a>
[src]
fn from(item: &TmuxCommand<'a>) -> Self
[src]
impl<'a> From<TmuxCommand<'a>> for CapturePane<'a>
[src]
fn from(item: TmuxCommand<'a>) -> Self
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for CapturePane<'a>
impl<'a> Send for CapturePane<'a>
impl<'a> Sync for CapturePane<'a>
impl<'a> Unpin for CapturePane<'a>
impl<'a> UnwindSafe for CapturePane<'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>,