mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
LibVT: Rename escape$K and escape$J to EL and ED respectively
We should rename all of these functions to match the real VT100 names. This will make it 100% easier to work on LibVT. For reference: https://vt100.net/docs/vt100-ug/
This commit is contained in:
parent
4ed5c13792
commit
8c1f2d7131
2 changed files with 7 additions and 6 deletions
|
@ -397,7 +397,7 @@ void Terminal::escape$X(const ParamVector& params)
|
|||
}
|
||||
}
|
||||
|
||||
void Terminal::escape$K(const ParamVector& params)
|
||||
void Terminal::EL(const ParamVector& params)
|
||||
{
|
||||
int mode = 0;
|
||||
if (params.size() >= 1)
|
||||
|
@ -427,8 +427,9 @@ void Terminal::escape$K(const ParamVector& params)
|
|||
}
|
||||
}
|
||||
|
||||
void Terminal::escape$J(const ParamVector& params)
|
||||
void Terminal::ED(const ParamVector& params)
|
||||
{
|
||||
// ED - Erase in Display
|
||||
int mode = 0;
|
||||
if (params.size() >= 1)
|
||||
mode = params[0];
|
||||
|
@ -624,10 +625,10 @@ void Terminal::execute_escape_sequence(u8 final)
|
|||
escape$H(params);
|
||||
break;
|
||||
case 'J':
|
||||
escape$J(params);
|
||||
ED(params);
|
||||
break;
|
||||
case 'K':
|
||||
escape$K(params);
|
||||
EL(params);
|
||||
break;
|
||||
case 'M':
|
||||
escape$M(params);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue