diff options
author | Joshua M. Clulow <josh@sysmgr.org> | 2021-07-02 12:06:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 15:06:18 -0400 |
commit | b6d51dc40eb420d81a28c3b3c7b6de4ee9319dfc (patch) | |
tree | 3d788eb3ce747c041ca05632174dd6781407d510 /docs/src | |
parent | caf22ddbf5b1b8d06006b24f3b50c5e698fe2d8c (diff) | |
download | libuv-b6d51dc40eb420d81a28c3b3c7b6de4ee9319dfc.tar.gz libuv-b6d51dc40eb420d81a28c3b3c7b6de4ee9319dfc.zip |
illumos,tty: UV_TTY_MODE_IO waits for 4 bytes
uv_tty_set_mode() allows a tty device to be set to raw mode with
UV_TTY_MODE_RAW, which correctly sets MIN and TIME to appropriate
values for character input. When UV_TTY_MODE_IO is passed, on illumos
systems a compatibility implementation of cfmakeraw() is used that does
_not_ set MIN or TIME. As a result, consumers of IO mode will block
until a minimum of 4 bytes is available on the tty instead of just 1 as
is expected.
PR-URL: https://github.com/libuv/libuv/pull/3219
Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions