mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-03 05:32:00 +03:00
Epic last minute formatting fix
This commit is contained in:
parent
05b42b2428
commit
eb33edf9ee
@ -269,22 +269,22 @@ refresh:
|
||||
// syntax highlighting
|
||||
if (syntax_highlighting_enabled) {
|
||||
switch (token_type) {
|
||||
case TOK_KEY:
|
||||
print("\e[36m%c\e[0m", buffer[i]);
|
||||
break;
|
||||
case TOK_EQUALS:
|
||||
print("\e[32m%c\e[0m", buffer[i]);
|
||||
break;
|
||||
case TOK_KEY:
|
||||
print("\e[36m%c\e[0m", buffer[i]);
|
||||
break;
|
||||
case TOK_EQUALS:
|
||||
print("\e[32m%c\e[0m", buffer[i]);
|
||||
break;
|
||||
case TOK_VALUE:
|
||||
print("\e[39m%c\e[0m", buffer[i]);
|
||||
break;
|
||||
case TOK_BADKEY:
|
||||
print("\e[31m%c\e[0m", buffer[i]);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
print("%c", buffer[i]);
|
||||
}
|
||||
} else {
|
||||
print("%c", buffer[i]);
|
||||
}
|
||||
|
||||
// switch to token type 2 after equals sign
|
||||
if (token_type == TOK_EQUALS) token_type = TOK_VALUE;
|
||||
|
Loading…
Reference in New Issue
Block a user