mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:47:35 +00:00
TTY: MasterPTY's are always writable when open.
This should probably have some limitations eventually, but for now let's just say we always accept data for shoveling over to SlavePTY.
This commit is contained in:
parent
2159d6bf76
commit
ccf3fc4618
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ bool MasterPTY::can_read(Process&) const
|
|||
|
||||
bool MasterPTY::can_write(Process&) const
|
||||
{
|
||||
return m_buffer.bytes_in_write_buffer() < 4096;
|
||||
return true;
|
||||
}
|
||||
|
||||
void MasterPTY::on_slave_write(const byte* data, size_t size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue