mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 17:19:13 +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
Notes:
sideshowbarker
2024-07-18 16:57:02 +09:00
Author: https://github.com/supercomputer7
Commit: 47c1a31f89
Pull-request: https://github.com/SerenityOS/serenity/pull/7733
Issue: https://github.com/SerenityOS/serenity/issues/7562
6 changed files with 40 additions and 30 deletions
|
@ -32,9 +32,9 @@ public:
|
|||
virtual void show_cursor() override;
|
||||
|
||||
virtual void clear(size_t x, size_t y, size_t length) const override;
|
||||
virtual void write(size_t x, size_t y, char ch, Color background, Color foreground) const override;
|
||||
virtual void write(size_t x, size_t y, char ch) const override;
|
||||
virtual void write(char ch) const override;
|
||||
virtual void write(size_t x, size_t y, char ch, Color background, Color foreground, bool critical = false) const override;
|
||||
virtual void write(size_t x, size_t y, char ch, bool critical = false) const override;
|
||||
virtual void write(char ch, bool critical = false) const override;
|
||||
|
||||
virtual void enable() override;
|
||||
virtual void disable() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue