summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibVT/Terminal.cpp8
-rw-r--r--Userland/Libraries/LibVT/Terminal.h8
2 files changed, 10 insertions, 6 deletions
diff --git a/Userland/Libraries/LibVT/Terminal.cpp b/Userland/Libraries/LibVT/Terminal.cpp
index 7434c16161..f4d44791de 100644
--- a/Userland/Libraries/LibVT/Terminal.cpp
+++ b/Userland/Libraries/LibVT/Terminal.cpp
@@ -449,7 +449,7 @@ void Terminal::ED(const ParamVector& params)
}
}
-void Terminal::escape$S(const ParamVector& params)
+void Terminal::SU(const ParamVector& params)
{
int count = 1;
if (params.size() >= 1)
@@ -459,7 +459,7 @@ void Terminal::escape$S(const ParamVector& params)
scroll_up();
}
-void Terminal::escape$T(const ParamVector& params)
+void Terminal::SD(const ParamVector& params)
{
int count = 1;
if (params.size() >= 1)
@@ -633,10 +633,10 @@ void Terminal::execute_escape_sequence(u8 final)
escape$P(params);
break;
case 'S':
- escape$S(params);
+ SU(params);
break;
case 'T':
- escape$T(params);
+ SD(params);
break;
case 'L':
escape$L(params);
diff --git a/Userland/Libraries/LibVT/Terminal.h b/Userland/Libraries/LibVT/Terminal.h
index 1093ab566a..721af45310 100644
--- a/Userland/Libraries/LibVT/Terminal.h
+++ b/Userland/Libraries/LibVT/Terminal.h
@@ -204,10 +204,14 @@ private:
// ICH - Insert Character
void ICH(const ParamVector&);
+ // SU - Scroll Up (called "Pan Down" in VT510)
+ void SU(const ParamVector&);
+
+ // SD - Scroll Down (called "Pan Up" in VT510)
+ void SD(const ParamVector&);
+
// FIXME: Find the right names for these.
void escape$t(const ParamVector&);
- void escape$S(const ParamVector&);
- void escape$T(const ParamVector&);
void escape$L(const ParamVector&);
void escape$M(const ParamVector&);
void escape$P(const ParamVector&);