Kernel: TTY now reads input byte by byte

This allows correct behaviour for character streams / keyboard
handling. Serial input can now send working ^C :D
This commit is contained in:
Bananymous
2023-09-07 15:06:27 +03:00
parent 5e1725abb2
commit b30af0edca
3 changed files with 55 additions and 82 deletions

View File

@@ -29,7 +29,7 @@ namespace Kernel
static void initialize_devices();
void on_key_event(Input::KeyEvent);
void handle_input(const uint8_t* ch);
void handle_input_byte(uint8_t);
virtual bool is_tty() const override { return true; }