pub struct TermInit {
pub manual: bool,
pub alternate_screen: bool,
pub mouse_capture: bool,
pub bracketed_paste: bool,
pub cursor_blinking: bool,
pub cursor: SetCursorStyle,
pub keyboard_enhancements: KeyboardEnhancementFlags,
pub clear_area: bool,
pub non_exhaustive: NonExhaustive,
}Fields§
§manual: boolDon’t do any init/shutdown. Will be done by main().
alternate_screen: boolSwitch to alternate screen.
mouse_capture: boolEnable mouse.
bracketed_paste: boolSee wikipedia
cursor_blinking: boolEnable blinking cursor.
cursor: SetCursorStyleSet the cursor-style.
keyboard_enhancements: KeyboardEnhancementFlagsKey encoding options.
clear_area: boolClear the configured terminal at shutdown.
non_exhaustive: NonExhaustiveTrait Implementations§
impl Copy for TermInit
Auto Trait Implementations§
impl Freeze for TermInit
impl RefUnwindSafe for TermInit
impl Send for TermInit
impl Sync for TermInit
impl Unpin for TermInit
impl UnwindSafe for TermInit
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more