Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
term: use stdin file descriptor in comment
Using a `fd` of `0` on Windows will crash with `panic: The handle is invalid.` By getting the file descriptor from `os.Stdin`, this can be avoided. Change-Id: Ie7915b1e0e1018fcb92b6ba006fe85a9aee439ad GitHub-Last-Rev: 4e56574 GitHub-Pull-Request: #3 Reviewed-on: https://go-review.googlesource.com/c/term/+/280232 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Tobias Klauser <[email protected]>
- Loading branch information