summaryrefslogtreecommitdiff
path: root/Libraries/LibVT
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-01-26 13:52:19 +0000
committerAndreas Kling <kling@serenityos.org>2020-01-26 15:58:06 +0100
commitbe57b813367113b772eaca489e23df992e9922c8 (patch)
treee63497912c32421f8e9002c8f6bd95e629355f69 /Libraries/LibVT
parent2edd8e37aeee5d2f1758f0316bc2bec618df9199 (diff)
downloadserenity-be57b813367113b772eaca489e23df992e9922c8.zip
LibVT: Rename escape$f to HVP (Horizontal and Vertical Position)
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 208f9f1adf..b82e281e83 100644
--- a/Libraries/LibVT/Terminal.cpp
+++ b/Libraries/LibVT/Terminal.cpp
@@ -292,7 +292,7 @@ void Terminal::CUP(const ParamVector& params)
set_cursor(row - 1, col - 1);
}
-void Terminal::escape$f(const ParamVector& params)
+void Terminal::HVP(const ParamVector& params)
{
// HVP – Horizontal and Vertical Position
unsigned row = 1;
@@ -688,7 +688,7 @@ void Terminal::execute_escape_sequence(u8 final)
DA(params);
break;
case 'f':
- escape$f(params);
+ HVP(params);
break;
default:
dbgprintf("Terminal::execute_escape_sequence: Unhandled final '%c'\n", final);
diff --git a/Libraries/LibVT/Terminal.h b/Libraries/LibVT/Terminal.h
index 4b48f3f5aa..d85917048c 100644
--- a/Libraries/LibVT/Terminal.h
+++ b/Libraries/LibVT/Terminal.h
@@ -171,7 +171,7 @@ private:
void escape$L(const ParamVector&);
void escape$h_l(bool, bool, const ParamVector&);
void DA(const ParamVector&);
- void escape$f(const ParamVector&);
+ void HVP(const ParamVector&);
void NEL();
void IND();
void RI();