kernel: Silently ignore TTY writes in graphical mode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-08-22 13:31:31 +02:00
parent ce3542e2bd
commit 746834e2d9
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -63,7 +63,7 @@ Result<usize> ConsoleDevice::write(const u8* buf, usize, usize length)
{
if (m_settings.c_lflag & TOSTOP) TRY(handle_background_process_group(true, SIGTTOU));
// if (s_is_in_graphical_mode) return length;
if (s_is_in_graphical_mode) return length;
TextConsole::write((const char*)buf, length);
return length;