feature: shell kb input is now working with interrupts (not clean tho, might need to change it)

This commit is contained in:
2024-10-09 20:26:44 +02:00
parent e5d7b80ed5
commit 50b1487708
7 changed files with 57 additions and 44 deletions

View File

@ -1,6 +1,8 @@
#pragma once
#include "interrupts.h"
#define NEWLINE 0
#define READING 1
void load_drivers(void);
void keyboard_handler(struct registers *regs);

View File

@ -2,4 +2,5 @@
#define PROMPT "> "
void shell_init();
void shell_init(void);
void auto_complete(void);

View File

@ -57,4 +57,5 @@ void set_color_level(int level);
void terminal_set_default_fg_color(uint8_t fg_color);
void terminal_set_default_bg_color(uint8_t fg_color);
void terminal_change_default_fg_color(uint8_t color);
uint8_t terminal_get_default_color(void);
uint8_t terminal_get_default_color(void);
uint8_t terminal_get_char(int column, int row);