diff options
-rw-r--r-- | Kernel/TTY/VirtualConsole.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/TTY/VirtualConsole.cpp b/Kernel/TTY/VirtualConsole.cpp index 350f075b2c..e664544b4c 100644 --- a/Kernel/TTY/VirtualConsole.cpp +++ b/Kernel/TTY/VirtualConsole.cpp @@ -286,6 +286,8 @@ void VirtualConsole::emit_char(char ch) void VirtualConsole::flush_dirty_lines() { + if (!m_active) + return; VERIFY(GraphicsManagement::is_initialized()); VERIFY(GraphicsManagement::the().console()); for (u16 visual_row = 0; visual_row < rows(); ++visual_row) { |