diff options
author | Sahan Fernando <sahan.h.fernando@gmail.com> | 2021-06-25 22:57:09 +1000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-25 19:26:30 +0200 |
commit | b569b2df35d3f109520033ff10220cfb28f7db67 (patch) | |
tree | 7d4c63f1006e68a5543cb2cf28823b5469d8dbe8 /Kernel/TTY/VirtualConsole.cpp | |
parent | bab6fb76b7e17ea7e8d9438f638c0de9da7aa61c (diff) | |
download | serenity-b569b2df35d3f109520033ff10220cfb28f7db67.zip |
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.
Diffstat (limited to 'Kernel/TTY/VirtualConsole.cpp')
-rw-r--r-- | Kernel/TTY/VirtualConsole.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/TTY/VirtualConsole.cpp b/Kernel/TTY/VirtualConsole.cpp index 7dfc4a66d2..08dde9b15c 100644 --- a/Kernel/TTY/VirtualConsole.cpp +++ b/Kernel/TTY/VirtualConsole.cpp @@ -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); } |