diff options
Diffstat (limited to 'Kernel/TTY/MasterPTY.cpp')
-rw-r--r-- | Kernel/TTY/MasterPTY.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/TTY/MasterPTY.cpp b/Kernel/TTY/MasterPTY.cpp index 5afeec5355..a3caf1b17b 100644 --- a/Kernel/TTY/MasterPTY.cpp +++ b/Kernel/TTY/MasterPTY.cpp @@ -81,7 +81,7 @@ bool MasterPTY::can_write_from_slave() const { if (m_closed) return true; - return m_buffer.space_for_writing(); + return m_buffer.bytes_in_write_buffer() < 4096; } void MasterPTY::close() |