feat(kernel): implement official two-line Kali-style Airlys prompt in bare-metal VGA driver
This commit is contained in:
1 parent
abcc8dafc5
commit
a8486515cc
4 files changed
+32
-7
No files matched your search
+1
-3
@@ -63,9 +63,7 @@ static void keyboard_callback(registers_t* regs) {
|
||||
if (c != 0) {
|
||||
if (c == '\n') {
|
||||
vga_putchar('\n');
|
||||
vga_set_color(VGA_COLOR_LIGHT_CYAN, VGA_COLOR_BLACK);
|
||||
vga_puts("Airlys >>> ");
|
||||
vga_set_color(VGA_COLOR_WHITE, VGA_COLOR_BLACK);
|
||||
vga_print_prompt();
|
||||
} else {
|
||||
vga_putchar(c);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user