pub enum DecPrivateModeCode {
Show 36 variants
ApplicationCursorKeys = 1,
DecAnsiMode = 2,
Select132Columns = 3,
SmoothScroll = 4,
ReverseVideo = 5,
OriginMode = 6,
AutoWrap = 7,
AutoRepeat = 8,
StartBlinkingCursor = 12,
ShowCursor = 25,
ReverseWraparound = 45,
LeftRightMarginMode = 69,
SixelDisplayMode = 80,
MouseTracking = 1_000,
HighlightMouseTracking = 1_001,
ButtonEventMouse = 1_002,
AnyEventMouse = 1_003,
FocusTracking = 1_004,
Utf8Mouse = 1_005,
SGRMouse = 1_006,
RXVTMouse = 1_015,
SGRPixelsMouse = 1_016,
XTermMetaSendsEscape = 1_036,
XTermAltSendsEscape = 1_039,
SaveCursor = 1_048,
ClearAndEnableAlternateScreen = 1_049,
EnableAlternateScreen = 47,
OptEnableAlternateScreen = 1_047,
BracketedPaste = 2_004,
GraphemeClustering = 2_027,
Theme = 2_031,
UsePrivateColorRegistersForEachGraphic = 1_070,
SynchronizedOutput = 2_026,
MinTTYApplicationEscapeKeyMode = 7_727,
SixelScrollsRight = 8_452,
Win32InputMode = 9_001,
}Variants§
ApplicationCursorKeys = 1
https://vt100.net/docs/vt510-rm/DECCKM.html This mode is only effective when the terminal is in keypad application mode (see DECKPAM) and the ANSI/VT52 mode (DECANM) is set (see DECANM). Under these conditions, if the cursor key mode is reset, the four cursor function keys will send ANSI cursor control commands. If cursor key mode is set, the four cursor function keys will send application functions.
DecAnsiMode = 2
https://vt100.net/docs/vt510-rm/DECANM.html Behave like a vt52
Select132Columns = 3
SmoothScroll = 4
ReverseVideo = 5
OriginMode = 6
https://vt100.net/docs/vt510-rm/DECOM.html When OriginMode is enabled, cursor is constrained to the scroll region and its position is relative to the scroll region.
AutoWrap = 7
https://vt100.net/docs/vt510-rm/DECAWM.html When enabled, wrap to next line, Otherwise replace the last character
AutoRepeat = 8
StartBlinkingCursor = 12
ShowCursor = 25
ReverseWraparound = 45
LeftRightMarginMode = 69
SixelDisplayMode = 80
MouseTracking = 1_000
Enable mouse button press/release reporting
HighlightMouseTracking = 1_001
Warning: this requires a cooperative and timely response from the application otherwise the terminal can hang
ButtonEventMouse = 1_002
Enable mouse button press/release and drag reporting
AnyEventMouse = 1_003
Enable mouse motion, button press/release and drag reporting
FocusTracking = 1_004
Enable FocusIn/FocusOut events
Utf8Mouse = 1_005
SGRMouse = 1_006
Use extended coordinate system in mouse reporting. Does not enable mouse reporting itself, it just controls how reports will be encoded.
RXVTMouse = 1_015
SGRPixelsMouse = 1_016
Use pixels rather than text cells in mouse reporting. Does not enable mouse reporting itself, it just controls how reports will be encoded.
XTermMetaSendsEscape = 1_036
XTermAltSendsEscape = 1_039
SaveCursor = 1_048
Save cursor as in DECSC
ClearAndEnableAlternateScreen = 1_049
EnableAlternateScreen = 47
OptEnableAlternateScreen = 1_047
BracketedPaste = 2_004
GraphemeClustering = 2_027
https://github.com/contour-terminal/terminal-unicode-core/ Grapheme clustering mode
Theme = 2_031
UsePrivateColorRegistersForEachGraphic = 1_070
Applies to sixel and regis modes
SynchronizedOutput = 2_026
MinTTYApplicationEscapeKeyMode = 7_727
SixelScrollsRight = 8_452
xterm: adjust cursor positioning after emitting sixel
Win32InputMode = 9_001
Windows Terminal: win32-input-mode https://github.com/microsoft/terminal/blob/main/doc/specs/%234999%20-%20Improved%20keyboard%20handling%20in%20Conpty.md
Trait Implementations§
Source§impl Clone for DecPrivateModeCode
impl Clone for DecPrivateModeCode
Source§fn clone(&self) -> DecPrivateModeCode
fn clone(&self) -> DecPrivateModeCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more