LibVT: Rename escape$c to DA (Device Attributes)

This commit is contained in:
Linus Groh 2020-01-26 13:48:11 +00:00 committed by Andreas Kling
parent dcb5bf9e50
commit 2edd8e37ae
Notes: sideshowbarker 2024-07-19 09:47:29 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -510,7 +510,7 @@ void Terminal::escape$L(const ParamVector& params)
m_need_full_flush = true;
}
void Terminal::escape$c(const ParamVector&)
void Terminal::DA(const ParamVector&)
{
// DA - Device Attributes
emit_string("\033[?1;0c");
@ -685,7 +685,7 @@ void Terminal::execute_escape_sequence(u8 final)
escape$h_l(false, question_param, params);
break;
case 'c':
escape$c(params);
DA(params);
break;
case 'f':
escape$f(params);

View file

@ -170,7 +170,7 @@ private:
void escape$T(const ParamVector&);
void escape$L(const ParamVector&);
void escape$h_l(bool, bool, const ParamVector&);
void escape$c(const ParamVector&);
void DA(const ParamVector&);
void escape$f(const ParamVector&);
void NEL();
void IND();