mirror of
https://github.com/golang/term.git
synced 2026-02-08 19:56:05 +03:00
The Solaris version of MakeRaw already sets VMIN and VTIME explicitly such that a read returns when one character is available. cfmakeraw (whose behavior MakeRaw replicate) in glibc and the BSD's libc also set these values explicitly, so it should be done in the Linux/BSD versions of MakeRaw as well to be consistent. Change-Id: I531641ec87fd6a21b7a544b9a464bb90045b0bb1 Reviewed-on: https://go-review.googlesource.com/53570 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Avelino <t@avelino.xxx> Reviewed-by: Ian Lance Taylor <iant@golang.org>
4.2 KiB
4.2 KiB