Const
Set 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
SM is an alias for setMode.