mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +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
Notes:
sideshowbarker
2024-07-19 15:57:44 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/ccf3fc46188
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
Reference in a new issue