Request mode (DECRQM) sequence to request this mode from the terminal.
ANSI format:
CSI Pa $ p
DEC format:
CSI ? Pa $ p
Reset mode (RM) sequence to reset this mode.
ANSI format:
CSI Pd ; ... ; Pd l
DEC format:
CSI ? Pd ; ... ; Pd l
Set mode (SM) sequence to set this mode.
ANSI format:
CSI Pd ; ... ; Pd h
DEC format:
CSI ? Pd ; ... ; Pd h
Readonly
valueThe mode's value.
Report mode (DECRPM) sequence that the terminal sends to the host in response to this mode request DECRQM.
ANSI format:
CSI Pa ; Ps ; $ y
DEC format:
CSI ? Pa ; Ps $ y
Where Pa is the mode number, and Ps is the mode value.
the mode setting
escape sequence
Static
isStatic
isReturns true if the mode setting is permanently reset.
Static
isStatic
isReturns true if the mode setting is reset or permanently reset.
Static
isReturns true if the mode setting is set or permanently set.
Static
matchMatch mode setting from a report mode (DECRPM) sequence.
report mode sequence
mode setting
Static
reportReport mode (DECRPM) returns a sequence that the terminal sends to the host in response to a mode request DECRQM.
ANSI format:
CSI Pa ; Ps ; $ y
DEC format:
CSI ? Pa ; Ps $ y
Where Pa is the mode number, and Ps is the mode value.
Static
requestStatic
resetReset mode (RM) returns a sequence to reset a mode. The mode arguments are a list of modes to reset.
If one of the modes is a DECMode, the function will return two escape sequences.
ANSI format:
CSI Pd ; ... ; Pd l
DEC format:
CSI ? Pd ; ... ; Pd l
Static
setSet mode (SM) returns a sequence to set a mode. The mode arguments are a list of modes to set.
If one of the modes is a DECMode, the function will return two escape sequences.
ANSI format:
CSI Pd ; ... ; Pd h
DEC format:
CSI ? Pd ; ... ; Pd h
Static
settingParse mode setting from number or string.
the value to parse
mode setting
Represents an ANSI terminal mode.