summaryrefslogtreecommitdiff
path: root/Libraries/LibVT
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-01-26 13:48:11 +0000
committerAndreas Kling <kling@serenityos.org>2020-01-26 15:58:06 +0100
commit2edd8e37aeee5d2f1758f0316bc2bec618df9199 (patch)
treef08847c97b224678af59a07dfc9b7069462d38aa /Libraries/LibVT
parentdcb5bf9e5009304419610723f1fd9a486da5f954 (diff)
downloadserenity-2edd8e37aeee5d2f1758f0316bc2bec618df9199.zip
LibVT: Rename escape$c to DA (Device Attributes)
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r--Libraries/LibVT/Terminal.cpp4
-rw-r--r--Libraries/LibVT/Terminal.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibVT/Terminal.cpp b/Libraries/LibVT/Terminal.cpp
index 3dca29505f..208f9f1adf 100644
--- a/Libraries/LibVT/Terminal.cpp
+++ b/Libraries/LibVT/Terminal.cpp
@@ -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);
diff --git a/Libraries/LibVT/Terminal.h b/Libraries/LibVT/Terminal.h
index 231002d957..4b48f3f5aa 100644
--- a/Libraries/LibVT/Terminal.h
+++ b/Libraries/LibVT/Terminal.h
@@ -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();