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
ReadonlyvalueThe 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
StaticisStaticisReturns true if the mode setting is permanently reset.
StaticisStaticisReturns true if the mode setting is reset or permanently reset.
StaticisReturns true if the mode setting is set or permanently set.
StaticmatchMatch mode setting from a report mode (DECRPM) sequence.
report mode sequence
mode setting
StaticreportReport 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.
StaticrequestStaticresetReset 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
StaticsetSet 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
StaticsettingParse mode setting from number or string.
the value to parse
mode setting
Represents an ANSI terminal mode.