mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
Kernel: Don't clear VirtualConsoles when initializing
Instead of calling clear() for each virtual console we initialize, we only call clear() when activating it from ConsoleManagement.
This commit is contained in:
parent
bab6fb76b7
commit
b569b2df35
Notes:
sideshowbarker
2024-07-18 11:31:19 +09:00
Author: https://github.com/ccapitalK
Commit: b569b2df35
Pull-request: https://github.com/SerenityOS/serenity/pull/7130
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/IdanHo
2 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,6 @@ UNMAP_AFTER_INIT void VirtualConsole::initialize()
|
|||
for (size_t row = 0; row < rows(); row++) {
|
||||
m_lines.append({ true, 0 });
|
||||
}
|
||||
clear();
|
||||
VERIFY(m_cells);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue