[−][src]Enum alacritty_terminal::ansi::Mode
Terminal modes.
Variants
?1
Select 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)
IRM Insert Mode.
NB should be part of non-private mode enum.
CSI 4 h
change to insert modeCSI 4 l
reset to replacement mode
?6
?7
?12
20
NB This is actually a private mode. We should consider adding a second enumeration for public/private modesets.
?25
?1000
?1002
?1003
?1004
?1005
?1006
?1007
?1049
?2004
Implementations
impl Mode
[src]
pub fn from_primitive(intermediate: Option<&u8>, num: i64) -> Option<Mode>
[src]
Create mode from a primitive.
TODO lots of unhandled values.
Trait Implementations
impl Debug for Mode
[src]
impl Eq for Mode
[src]
impl PartialEq<Mode> for Mode
[src]
impl StructuralEq for Mode
[src]
impl StructuralPartialEq for Mode
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,