mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-04 01:05:58 +03:00
LibVT: Rename escape$B to CUD (Cursor Down)
This commit is contained in:
parent
cc73284c64
commit
35310dbd22
Notes:
sideshowbarker
2024-07-19 09:48:02 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/35310dbd22c Pull-request: https://github.com/SerenityOS/serenity/pull/1137 Reviewed-by: https://github.com/awesomekling
@ -316,8 +316,9 @@ void Terminal::CUU(const ParamVector& params)
|
||||
set_cursor(new_row, m_cursor_column);
|
||||
}
|
||||
|
||||
void Terminal::escape$B(const ParamVector& params)
|
||||
void Terminal::CUD(const ParamVector& params)
|
||||
{
|
||||
// CUD – Cursor Down
|
||||
int num = 1;
|
||||
if (params.size() >= 1)
|
||||
num = params[0];
|
||||
@ -614,7 +615,7 @@ void Terminal::execute_escape_sequence(u8 final)
|
||||
CUU(params);
|
||||
break;
|
||||
case 'B':
|
||||
escape$B(params);
|
||||
CUD(params);
|
||||
break;
|
||||
case 'C':
|
||||
escape$C(params);
|
||||
@ -778,7 +779,7 @@ void Terminal::NEL()
|
||||
void Terminal::IND()
|
||||
{
|
||||
// IND - Index (move down)
|
||||
escape$B({});
|
||||
CUD({});
|
||||
}
|
||||
|
||||
void Terminal::RI()
|
||||
|
@ -149,7 +149,7 @@ private:
|
||||
void emit_string(const StringView&);
|
||||
|
||||
void CUU(const ParamVector&);
|
||||
void escape$B(const ParamVector&);
|
||||
void CUD(const ParamVector&);
|
||||
void escape$C(const ParamVector&);
|
||||
void escape$D(const ParamVector&);
|
||||
void escape$H(const ParamVector&);
|
||||
|
Loading…
Reference in New Issue
Block a user