refactor(kernel): change color arrays to static

This commit is contained in:
2025-04-17 16:01:40 +00:00
parent e270c9f35b
commit bcc2c9d0ab
3 changed files with 4 additions and 6 deletions

View File

@ -27,7 +27,7 @@
namespace KernelConsole
{
int TermColors[] = {
static int TermColors[] = {
[TerminalColor::BLACK] = 0x000000,
[TerminalColor::RED] = 0xAA0000,
[TerminalColor::GREEN] = 0x00AA00,
@ -38,7 +38,7 @@ namespace KernelConsole
[TerminalColor::GREY] = 0xAAAAAA,
};
int TermBrightColors[] = {
static int TermBrightColors[] = {
[TerminalColor::BLACK] = 0x858585,
[TerminalColor::RED] = 0xFF5555,
[TerminalColor::GREEN] = 0x55FF55,