terminal: Stop setting the pty to nonblocking mode when it's not needed
This commit is contained in:
parent
63f785563d
commit
9c36ef6e9e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user