mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
LibVT: Add missing cursor movement escape sequences
This commit adds support for the following ANSI escape sequences: - `CNL` - Cursor Next Line - `CPL` - Cursor Previous Line - `VPR` - Line Position Relative - `HPA` - Character Position Absolute - `HPR` - Character Position Relative
This commit is contained in:
parent
07e3934f01
commit
4cf6963a1c
2 changed files with 116 additions and 28 deletions
|
@ -234,6 +234,12 @@ protected:
|
|||
// CUB – Cursor Backward
|
||||
void CUB(Parameters);
|
||||
|
||||
// CNL - Cursor Next Line
|
||||
void CNL(Parameters);
|
||||
|
||||
// CPL - Cursor Previous Line
|
||||
void CPL(Parameters);
|
||||
|
||||
// CUP - Cursor Position
|
||||
void CUP(Parameters);
|
||||
|
||||
|
@ -320,9 +326,18 @@ protected:
|
|||
// REP - Repeat
|
||||
void REP(Parameters);
|
||||
|
||||
// VPA - Vertical Line Position Absolute
|
||||
// VPA - Line Position Absolute
|
||||
void VPA(Parameters);
|
||||
|
||||
// VPR - Line Position Relative
|
||||
void VPR(Parameters);
|
||||
|
||||
// HPA - Character Position Absolute
|
||||
void HPA(Parameters);
|
||||
|
||||
// HPR - Character Position Relative
|
||||
void HPR(Parameters);
|
||||
|
||||
// ECH - Erase Character
|
||||
void ECH(Parameters);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue