mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
Kernel: Support new lines when doing critical printing
If we are printing strings in the critical path, handling new lines require us to break abstraction a bit to print new lines. Fixes #7562.
This commit is contained in:
parent
e8d85b0694
commit
47c1a31f89
6 changed files with 40 additions and 30 deletions
|
@ -77,7 +77,7 @@ static void critical_console_out(char ch)
|
|||
// We emit chars directly to the string. this is necessary in few cases,
|
||||
// especially when we want to avoid any memory allocations...
|
||||
if (GraphicsManagement::is_initialized() && GraphicsManagement::the().console()) {
|
||||
GraphicsManagement::the().console()->write(ch);
|
||||
GraphicsManagement::the().console()->write(ch, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue