summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibVT/Terminal.h
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-06-09 21:50:44 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-10 17:18:02 +0200
commit3752775a1ec70ef96a1afc255e4b60bff8e7d31e (patch)
tree3c1d67d47b05d81c6c6f8e05d5b765bebb035181 /Userland/Libraries/LibVT/Terminal.h
parenta3c4397432c776fbf0b9e233882258980e30866e (diff)
downloadserenity-3752775a1ec70ef96a1afc255e4b60bff8e7d31e.zip
LibVT: Implement `DECIC`/`DECDC`
This commit adds support for these escape sequences that are used for scrolling multiple lines at once. In the current, unoptimized implementation, these just call the `scroll_left` and `scroll_right` APIs multiple times. It's a VT420 feature.
Diffstat (limited to 'Userland/Libraries/LibVT/Terminal.h')
-rw-r--r--Userland/Libraries/LibVT/Terminal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibVT/Terminal.h b/Userland/Libraries/LibVT/Terminal.h
index 160bf08e40..1f5f974041 100644
--- a/Userland/Libraries/LibVT/Terminal.h
+++ b/Userland/Libraries/LibVT/Terminal.h
@@ -359,6 +359,12 @@ protected:
// FIXME: Find the right names for these.
void XTERM_WM(Parameters);
+ // DECIC - Insert Column
+ void DECIC(Parameters);
+
+ // DECDC - Delete Column
+ void DECDC(Parameters);
+
#ifndef KERNEL
TerminalClient& m_client;
#else