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
Notes: sideshowbarker 2024-07-18 22:55:05 +09:00

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