forked from Bananymous/banan-os
Kernel: Clear TTY when setting as current
Actually this should replace from old buffer, but this works for now.
This commit is contained in:
@@ -27,6 +27,7 @@ namespace Kernel
|
||||
void TTY::set_as_current()
|
||||
{
|
||||
s_tty = this;
|
||||
clear();
|
||||
|
||||
auto inode_or_error = DevFileSystem::get().root_inode()->find_inode("tty"sv);
|
||||
if (inode_or_error.is_error())
|
||||
|
||||
Reference in New Issue
Block a user