mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:27:35 +00:00
LibVT: fix SM/RM not respecting private markers
Since we now store intermediate characters separately, the intermediates should be checked for the presence of the '?' DEC private marker, not the first parameter.
This commit is contained in:
parent
be519022c3
commit
e0b6cfec1a
2 changed files with 40 additions and 50 deletions
|
@ -133,7 +133,7 @@ private:
|
|||
|
||||
void emit_string(const StringView&);
|
||||
|
||||
void alter_mode(bool should_set, bool question_param, Parameters);
|
||||
void alter_mode(bool should_set, Parameters, Intermediates);
|
||||
|
||||
// CUU – Cursor Up
|
||||
void CUU(Parameters);
|
||||
|
@ -169,10 +169,10 @@ private:
|
|||
void DECSTBM(Parameters);
|
||||
|
||||
// RM – Reset Mode
|
||||
void RM(Parameters);
|
||||
void RM(Parameters, Intermediates);
|
||||
|
||||
// SM – Set Mode
|
||||
void SM(Parameters);
|
||||
void SM(Parameters, Intermediates);
|
||||
|
||||
// DA - Device Attributes
|
||||
void DA(Parameters);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue