Kernel: Add better termios support

I'm not sure if this is correct but at least it's better than before :)
This commit is contained in:
2025-05-30 22:10:39 +03:00
parent 9b875fb930
commit 8ff9c030bf
6 changed files with 67 additions and 24 deletions

View File

@@ -57,7 +57,7 @@ namespace Kernel
virtual bool has_hungup_impl() const override { return false; }
protected:
TTY(mode_t mode, uid_t uid, gid_t gid);
TTY(termios termios, mode_t mode, uid_t uid, gid_t gid);
virtual bool putchar_impl(uint8_t ch) = 0;
virtual void update_cursor() {}