From 9c36ef6e9ef35e399ee7b5a344193b6a186515f6 Mon Sep 17 00:00:00 2001 From: apio Date: Fri, 19 Jan 2024 21:18:01 +0100 Subject: [PATCH] terminal: Stop setting the pty to nonblocking mode when it's not needed --- terminal/TerminalWidget.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/terminal/TerminalWidget.cpp b/terminal/TerminalWidget.cpp index f495fd40..d26d9b7a 100644 --- a/terminal/TerminalWidget.cpp +++ b/terminal/TerminalWidget.cpp @@ -58,8 +58,6 @@ Result 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;