summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-05-27 00:35:14 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-27 11:19:38 +0200
commitf11270e7ce37989a5c99047e0a4ad6aeaef21d13 (patch)
tree431f4f1c34d83348bca36629465c72b0cc39186e /Kernel/init.cpp
parent620697d924c15d62719ced9b4a2cab909bec74cb (diff)
downloadserenity-f11270e7ce37989a5c99047e0a4ad6aeaef21d13.zip
Kernel: Port VirtualConsole to LibVT :^)
Unfortunately this drops the feature of preserving VGA buffer contents. Resolves https://github.com/SerenityOS/serenity/issues/2399
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index 32cfacd715..68f60bcf5b 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -143,7 +143,7 @@ extern "C" [[noreturn]] void init()
new SerialDevice(SERIAL_COM4_ADDR, 67);
VirtualConsole::initialize();
- tty0 = new VirtualConsole(0, VirtualConsole::AdoptCurrentVGABuffer);
+ tty0 = new VirtualConsole(0);
new VirtualConsole(1);
VirtualConsole::switch_to(0);