1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-18 03:20:59 +00:00
serenity/Userland/Libraries/LibVT
Liav A 20743e8aed Kernel/Graphics + SystemServer: Support text mode properly
As we removed the support of VBE modesetting that was done by GRUB early
on boot, we need to determine if we can modeset the resolution with our
drivers, and if not, we should enable text mode and ensure that
SystemServer knows about it too.

Also, SystemServer should first check if there's a framebuffer device
node, which is an indication that text mode was not even if it was
requested. Then, if it doesn't find it, it should check what boot_mode
argument the user specified (in case it's self-test). This way if we
try to use bochs-display device (which is not VGA compatible) and
request a text mode, it will not honor the request and will continue
with graphical mode.

Also try to print critical messages with mininum memory allocations
possible.

In LibVT, We make the implementation flexible for kernel-specific
methods that are implemented in ConsoleImpl class.
2021-05-16 19:58:33 +02:00
..
Attribute.h Kernel/Graphics + SystemServer: Support text mode properly 2021-05-16 19:58:33 +02:00
CMakeLists.txt LibVT: Implement new ANSI escape sequence parser 2021-05-16 11:50:56 +02:00
EscapeSequenceParser.cpp LibVT: Implement new ANSI escape sequence parser 2021-05-16 11:50:56 +02:00
EscapeSequenceParser.h LibVT: Implement new ANSI escape sequence parser 2021-05-16 11:50:56 +02:00
Line.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Line.h Kernel/Graphics + SystemServer: Support text mode properly 2021-05-16 19:58:33 +02:00
Position.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Range.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StateMachine.txt LibVT: Fix 8-bit control codes clobbering UTF-8 2021-05-16 14:17:04 +02:00
Terminal.cpp Kernel/Graphics + SystemServer: Support text mode properly 2021-05-16 19:58:33 +02:00
Terminal.h Kernel/Graphics + SystemServer: Support text mode properly 2021-05-16 19:58:33 +02:00
TerminalWidget.cpp Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
TerminalWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
XtermColors.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00