1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:18:12 +00:00

LibVT: Rename escape$D to CUB (Cursor Backward)

This commit is contained in:
Linus Groh 2020-01-26 13:39:30 +00:00 committed by Andreas Kling
parent 428a55a196
commit 5cdfc58242
2 changed files with 4 additions and 3 deletions

View file

@ -344,8 +344,9 @@ void Terminal::CUF(const ParamVector& params)
set_cursor(m_cursor_row, new_column);
}
void Terminal::escape$D(const ParamVector& params)
void Terminal::CUB(const ParamVector& params)
{
// CUB Cursor Backward
int num = 1;
if (params.size() >= 1)
num = params[0];
@ -622,7 +623,7 @@ void Terminal::execute_escape_sequence(u8 final)
CUF(params);
break;
case 'D':
escape$D(params);
CUB(params);
break;
case 'H':
escape$H(params);