terminal: Stop setting the pty to nonblocking mode when it's not needed

This commit is contained in:
apio 2024-01-19 21:18:01 +01:00
parent 63f785563d
commit 9c36ef6e9e
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -58,8 +58,6 @@ Result<void> TerminalWidget::init(char* const* args)
m_pty = master;
fcntl(m_pty, F_SETFL, O_NONBLOCK);
os::EventLoop::the().register_fd_listener(m_pty, [this](int, int) { this->process(); });
m_child_pid = child;