mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
96675e61cd
In a TTY's non-canonical mode, data availability can be configured by setting VMIN and VTIME to determine the minimum amount of bytes to read and the timeout between bytes, respectively. Some ports (such as SRB2) set VMIN to 0 which effectively makes reading a TTY such as stdin a non-blocking read. We didn't support this, causing ports to hang as soon as they try to read stdin without any data available. Add a very duct-tapey implementation for the case where VMIN == 0 by overwriting the TTY's description's blocking status; 3 FIXMEs are included to make sure we clean this up some day. |
||
---|---|---|
.. | ||
ConsoleManagement.cpp | ||
ConsoleManagement.h | ||
MasterPTY.cpp | ||
MasterPTY.h | ||
PTYMultiplexer.cpp | ||
PTYMultiplexer.h | ||
SlavePTY.cpp | ||
SlavePTY.h | ||
TTY.cpp | ||
TTY.h | ||
VirtualConsole.cpp | ||
VirtualConsole.h |