1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 19:05:08 +00:00

Kernel: Evaluate block conditions inside VirtualConsole::emit()

This makes text mode boot usable again, because the shell never
received keyboard input otherwise.
This commit is contained in:
Jean-Baptiste Boric 2021-01-23 16:06:51 +01:00 committed by Andreas Kling
parent 8941d831bb
commit adb2fae69c

View file

@ -335,7 +335,7 @@ void VirtualConsole::terminal_history_changed()
void VirtualConsole::emit(const u8* data, size_t size)
{
for (size_t i = 0; i < size; i++)
TTY::emit(data[i]);
TTY::emit(data[i], true);
}
String VirtualConsole::device_name() const