pub struct CapturePaneRequest {Show 19 fields
pub target: PaneTarget,
pub start: Option<i64>,
pub end: Option<i64>,
pub print: bool,
pub buffer_name: Option<String>,
pub alternate: bool,
pub escape_ansi: bool,
pub escape_sequences: bool,
pub include_format: bool,
pub hyperlinks: bool,
pub line_numbers: bool,
pub join_wrapped: bool,
pub use_mode_screen: bool,
pub preserve_trailing_spaces: bool,
pub do_not_trim_spaces: bool,
pub pending_input: bool,
pub quiet: bool,
pub start_is_absolute: bool,
pub end_is_absolute: bool,
}Expand description
Request payload for capture-pane.
Fields§
§target: PaneTargetThe pane whose retained transcript should be captured.
start: Option<i64>The optional inclusive start line.
end: Option<i64>The optional inclusive end line.
print: boolWhether to print captured bytes to stdout instead of writing a buffer.
buffer_name: Option<String>The optional destination buffer name for non-printing captures.
alternate: boolWhether the saved alternate-screen copy should be captured.
escape_ansi: boolWhether ANSI SGR and hyperlink sequences should be preserved.
escape_sequences: boolWhether control sequences should be octal-escaped.
include_format: boolWhether each captured line should be prefixed with tmux line flags.
hyperlinks: boolWhether hyperlink information should be captured instead of text.
line_numbers: boolWhether each captured line should be prefixed with its line number.
join_wrapped: boolWhether wrapped rows should be joined without intervening newlines.
use_mode_screen: boolWhether the copy-mode screen should be captured when present.
preserve_trailing_spaces: boolWhether trailing spaces should be preserved.
do_not_trim_spaces: boolWhether trailing spaces should not be trimmed.
pending_input: boolWhether pending parser bytes should be captured instead of the screen grid.
quiet: boolWhether missing alternate-screen content should be silenced.
start_is_absolute: boolWhether -S - was used.
end_is_absolute: boolWhether -E - was used.
Trait Implementations§
Source§impl Clone for CapturePaneRequest
impl Clone for CapturePaneRequest
Source§fn clone(&self) -> CapturePaneRequest
fn clone(&self) -> CapturePaneRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more