pub type CaptureP<'a> = CapturePane<'a>;

Aliased Type§

struct CaptureP<'a> {
Show 13 fields pub alternate_screen: bool, pub escape_sequences: bool, pub stdout: bool, pub pane: bool, pub quiet: bool, pub escape_non_printable: bool, pub join: bool, pub trailing_spaces: bool, pub ignore_trailing_positions: bool, pub buffer_name: Option<Cow<'a, str>>, pub end_line: Option<Cow<'a, str>>, pub start_line: Option<Cow<'a, str>>, pub target_pane: Option<Cow<'a, str>>,
}

Fields§

§alternate_screen: bool

[-a] - the alternate screen is used, and the history is not accessible

§escape_sequences: bool

[-e] - the output includes escape sequences for text and background attributes

§stdout: bool

[-p] - the output goes to stdout

§pane: bool

[-P] - capture only any output that the pane has received that is the beginning of an as-yet incomplete escape sequence

§quiet: bool

[-q] - quiet

§escape_non_printable: bool

[-C] - escape non-printable characters as octal \xxx

§join: bool

[-J] - preserve trailing spaces and joins any wrapped lines

§trailing_spaces: bool

[-N] - preserves trailing spaces at each line’s end

§ignore_trailing_positions: bool

[-T] - ignores trailing positions that do not contain a character

§buffer_name: Option<Cow<'a, str>>

[-b buffer-name] - buffer-name

§end_line: Option<Cow<'a, str>>

[-E end-line] - specify the ending line number

§start_line: Option<Cow<'a, str>>

[-S start-line] - specify the starting line number

§target_pane: Option<Cow<'a, str>>

[-t target-pane] - specify target-pane