[−][src]Enum alacritty::ansi::Mode
Terminal modes
Variants
CursorKeys?1
DECCOLMSelect 80 or 132 columns per page
CSI ? 3 h -> set 132 column font CSI ? 3 l -> reset 80 column font
Additionally,
- set margins to default positions
- erases all data in page memory
- resets DECLRMM to unavailable
- clears data from the status line (if set to host-writable)
InsertIRM Insert Mode
NB should be part of non-private mode enum
CSI 4 hchange to insert modeCSI 4 lreset to replacement mode
Origin?6
LineWrap?7
BlinkingCursor?12
LineFeedNewLine20
NB This is actually a private mode. We should consider adding a second enumeration for public/private modesets.
ShowCursor?25
ReportMouseClicks?1000
ReportCellMouseMotion?1002
ReportAllMouseMotion?1003
ReportFocusInOut?1004
SgrMouse?1006
SwapScreenAndSetRestoreCursor?1049
BracketedPaste?2004
Methods
impl Mode[src]
pub fn from_primitive(private: bool, num: i64) -> Option<Mode>[src]
Create mode from a primitive
TODO lots of unhandled values..
Trait Implementations
impl Eq for Mode[src]
impl PartialEq<Mode> for Mode[src]
fn eq(&self, other: &Mode) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Debug for Mode[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> SetParameter for T[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>, [src]
T: Parameter<Self>,
Sets value as a parameter of self.