Kernel: Fix ANSI SGR color invert

This commit is contained in:
2025-04-18 17:31:46 +03:00
parent 703c1a485c
commit 85505b0482
3 changed files with 10 additions and 8 deletions

View File

@@ -69,8 +69,6 @@ namespace Kernel
void do_backspace();
protected:
TerminalDriver::Color m_foreground { TerminalColor::BRIGHT_WHITE };
TerminalDriver::Color m_background { TerminalColor::BLACK };
termios m_termios;
private:

View File

@@ -84,6 +84,10 @@ namespace Kernel
uint32_t m_column { 0 };
Cell* m_buffer { nullptr };
TerminalDriver::Color m_foreground { TerminalColor::BRIGHT_WHITE };
TerminalDriver::Color m_background { TerminalColor::BLACK };
bool m_colors_inverted { false };
BAN::RefPtr<TerminalDriver> m_terminal_driver;
};