mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
LibVT: Give proper names to SCOSC and SCORC
This commit is contained in:
parent
17959c1408
commit
6c7c6de52b
2 changed files with 11 additions and 6 deletions
|
@ -230,13 +230,13 @@ void Terminal::SGR(const ParamVector& params)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Terminal::escape$s(const ParamVector&)
|
void Terminal::SCOSC(const ParamVector&)
|
||||||
{
|
{
|
||||||
m_saved_cursor_row = m_cursor_row;
|
m_saved_cursor_row = m_cursor_row;
|
||||||
m_saved_cursor_column = m_cursor_column;
|
m_saved_cursor_column = m_cursor_column;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Terminal::escape$u(const ParamVector&)
|
void Terminal::SCORC(const ParamVector&)
|
||||||
{
|
{
|
||||||
set_cursor(m_saved_cursor_row, m_saved_cursor_column);
|
set_cursor(m_saved_cursor_row, m_saved_cursor_column);
|
||||||
}
|
}
|
||||||
|
@ -668,10 +668,10 @@ void Terminal::execute_escape_sequence(u8 final)
|
||||||
SGR(params);
|
SGR(params);
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
escape$s(params);
|
SCOSC(params);
|
||||||
break;
|
break;
|
||||||
case 'u':
|
case 'u':
|
||||||
escape$u(params);
|
SCORC(params);
|
||||||
break;
|
break;
|
||||||
case 't':
|
case 't':
|
||||||
escape$t(params);
|
escape$t(params);
|
||||||
|
|
|
@ -158,8 +158,13 @@ private:
|
||||||
void escape$b(const ParamVector&);
|
void escape$b(const ParamVector&);
|
||||||
void escape$d(const ParamVector&);
|
void escape$d(const ParamVector&);
|
||||||
void SGR(const ParamVector&);
|
void SGR(const ParamVector&);
|
||||||
void escape$s(const ParamVector&);
|
|
||||||
void escape$u(const ParamVector&);
|
// Save Current Cursor Position
|
||||||
|
void SCOSC(const ParamVector&);
|
||||||
|
|
||||||
|
// Restore Saved Cursor Position
|
||||||
|
void SCORC(const ParamVector&);
|
||||||
|
|
||||||
void escape$t(const ParamVector&);
|
void escape$t(const ParamVector&);
|
||||||
void DECSTBM(const ParamVector&);
|
void DECSTBM(const ParamVector&);
|
||||||
void escape$S(const ParamVector&);
|
void escape$S(const ParamVector&);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue