mirror of
https://github.com/golang/term.git
synced 2026-01-29 07:02:06 +03:00
term: add portability note re: std{in,out} fds
I recently made the mistake of assuming that stdin and stdout's fds were 0 and 1, respectively, leading to a bug report from a Windows user. With luck this note should prevent others from making the same mistake. Change-Id: I5391d91c431c3a801617f50d1b6a61121e2a939f Reviewed-on: https://go-review.googlesource.com/c/term/+/349149 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Carlos Amedee <carlos@golang.org>
This commit is contained in:
committed by
Carlos Amedee
parent
6886f2dfbf
commit
140adaaadf
Reference in New Issue
Block a user