pub struct TerminalConfig {
pub alt_screen: bool,
pub mouse_mode: MouseMode,
pub bracketed_paste: bool,
pub focus_reporting: bool,
pub headless: bool,
}Expand description
Configuration for terminal setup
Fields§
§alt_screen: boolWhether to use alternate screen buffer
mouse_mode: MouseModeMouse input mode configuration
bracketed_paste: boolWhether to enable bracketed paste mode
focus_reporting: boolWhether to enable terminal focus reporting
headless: boolWhether to run in headless mode (no terminal setup)
Trait Implementations§
Source§impl Clone for TerminalConfig
impl Clone for TerminalConfig
Source§fn clone(&self) -> TerminalConfig
fn clone(&self) -> TerminalConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TerminalConfig
impl Debug for TerminalConfig
Auto Trait Implementations§
impl Freeze for TerminalConfig
impl RefUnwindSafe for TerminalConfig
impl Send for TerminalConfig
impl Sync for TerminalConfig
impl Unpin for TerminalConfig
impl UnwindSafe for TerminalConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Inspectable for T
impl<T> Inspectable for T
Source§fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
Conditionally inspect this value
Source§fn inspect_with<F>(self, label: &str, f: F) -> Self
fn inspect_with<F>(self, label: &str, f: F) -> Self
Inspect with a custom formatter