pub struct TtySessionOptions {
pub alternate_screen: bool,
pub features: BackendFeatures,
pub intercept_signals: bool,
}Expand description
Configuration for opening a terminal session.
Fields§
§alternate_screen: boolEnter the alternate screen buffer on open.
features: BackendFeaturesInitial feature toggles to enable.
intercept_signals: boolInstall a signal handler to restore terminal state on SIGINT/SIGTERM/SIGHUP.
Trait Implementations§
Source§impl Clone for TtySessionOptions
impl Clone for TtySessionOptions
Source§fn clone(&self) -> TtySessionOptions
fn clone(&self) -> TtySessionOptions
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 TtySessionOptions
impl Debug for TtySessionOptions
Auto Trait Implementations§
impl Freeze for TtySessionOptions
impl RefUnwindSafe for TtySessionOptions
impl Send for TtySessionOptions
impl Sync for TtySessionOptions
impl Unpin for TtySessionOptions
impl UnsafeUnpin for TtySessionOptions
impl UnwindSafe for TtySessionOptions
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