mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03: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
@ -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…
Reference in New Issue
Block a user