feat(console): customize interactive prompt to 'Airlys >>> ' and add backspace handling

This commit is contained in:
Adam Eehan committed 2026-10-23 13:42:41 +05:30
1 parent da6253030a
commit 08610afa9d
3 files changed
+20 -2

No files matched your search

+10
View File
@@ -53,6 +53,16 @@ void vga_clear(void) {
}
void vga_putchar(char c) {
if (c == '\b') {
if (vga_column > 0) {
vga_column--;
const size_t index = vga_row * VGA_WIDTH + vga_column;
vga_buffer[index] = vga_entry(' ', vga_current_color);
vga_update_cursor();
}
return;
}
if (c == '\n') {
vga_column = 0;
if (++vga_row == VGA_HEIGHT) {