mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
Kernel: Port VirtualConsole to LibVT :^)
Unfortunately this drops the feature of preserving VGA buffer contents. Resolves https://github.com/SerenityOS/serenity/issues/2399
This commit is contained in:
parent
620697d924
commit
f11270e7ce
6 changed files with 136 additions and 450 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue