mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 19:28:48 +00:00
LibVT: Rename escape$C to CUF (Cursor Forward)
This commit is contained in:
parent
35310dbd22
commit
428a55a196
Notes:
sideshowbarker
2024-07-19 09:47:55 +09:00
Author: https://github.com/linusg
Commit: 428a55a196
Pull-request: https://github.com/SerenityOS/serenity/pull/1137
Reviewed-by: https://github.com/awesomekling
2 changed files with 4 additions and 3 deletions
|
@ -330,8 +330,9 @@ void Terminal::CUD(const ParamVector& params)
|
|||
set_cursor(new_row, m_cursor_column);
|
||||
}
|
||||
|
||||
void Terminal::escape$C(const ParamVector& params)
|
||||
void Terminal::CUF(const ParamVector& params)
|
||||
{
|
||||
// CUF – Cursor Forward
|
||||
int num = 1;
|
||||
if (params.size() >= 1)
|
||||
num = params[0];
|
||||
|
@ -618,7 +619,7 @@ void Terminal::execute_escape_sequence(u8 final)
|
|||
CUD(params);
|
||||
break;
|
||||
case 'C':
|
||||
escape$C(params);
|
||||
CUF(params);
|
||||
break;
|
||||
case 'D':
|
||||
escape$D(params);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue