feature: clear added to the shell

This commit is contained in:
2024-09-17 13:57:52 +02:00
parent a02931a165
commit e316910581
4 changed files with 21 additions and 1 deletions

View File

@ -49,13 +49,14 @@ typedef enum {
POWEROFF,
HALT,
STACK,
CLEAR,
ECHO,
COLOR,
MERDELLA,
ERROR
} CMD_TOK;
void shell_init(void);
void reboot(void);
void halt(void);
void shell_init(void);
void print_stack(void);

View File

@ -46,6 +46,7 @@ int terminal_write(const char *data, size_t size);
int terminal_writestring(const char *data);
int terminal_writelong(long number);
void terminal_set_screen(int pos);
void terminal_clear(void);
struct key_event terminal_getkey(void);
void update_cursor(void);
void move_cursor(int direction);