pub struct CapturePaneRequest {Show 16 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 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.
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 moreSource§impl Debug for CapturePaneRequest
impl Debug for CapturePaneRequest
Source§impl<'de> Deserialize<'de> for CapturePaneRequest
impl<'de> Deserialize<'de> for CapturePaneRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CapturePaneRequest
impl PartialEq for CapturePaneRequest
Source§fn eq(&self, other: &CapturePaneRequest) -> bool
fn eq(&self, other: &CapturePaneRequest) -> bool
self and other values to be equal, and is used by ==.