Kernel: Add tty to process and make termios modifiable

This commit is contained in:
Bananymous
2023-04-05 02:53:28 +03:00
parent 67ff01e915
commit f281543255
4 changed files with 38 additions and 13 deletions

View File

@@ -59,6 +59,11 @@ namespace Kernel
);
}
TTY* TTY::current()
{
return s_tty;
}
void TTY::on_key(Input::KeyEvent event)
{
ASSERT(!m_lock.is_locked());