add: backspace work with vbe
This commit is contained in:
@ -2,5 +2,4 @@
|
||||
|
||||
#define PROMPT "> "
|
||||
|
||||
void shell_init(void);
|
||||
void auto_complete(void);
|
||||
void shell_init(void);
|
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "font.h"
|
||||
#include "icon.h"
|
||||
#include "keyboard.h"
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
@ -19,6 +21,8 @@ struct screen {
|
||||
uint32_t bg_color;
|
||||
uint16_t buffer[VGA_WIDTH * VGA_HEIGHT];
|
||||
uint32_t default_color;
|
||||
struct icon *backgound;
|
||||
struct font *font;
|
||||
char line[256];
|
||||
};
|
||||
|
||||
@ -62,3 +66,4 @@ void terminal_set_default_bg_color(uint32_t fg_color);
|
||||
void terminal_change_default_fg_color(uint32_t color);
|
||||
uint32_t terminal_get_default_color(void);
|
||||
uint8_t terminal_get_char(int column, int row);
|
||||
void terminal_remove_last_char(void);
|
Reference in New Issue
Block a user