8080326526
- Touch-up GoDoc to better document each method, adding punctuation, and use doc-links where applicable. - SetRawTerminal(): change the order in which we check if a terminal is connected; check the local boolean first before checking if the NORAW env-var is set. - NewOut() / NewIn(); remove intermediate variables - Remove explicit use of the embedded "commonStream" to make the code slightly less verbose, and more "to the point". - Document the intended purpose of SetIsTerminal(), which was added in https://github.com/moby/moby/commit/b2551c619d30f163c3ab8c9ee53cdb09bfbeaa55 to be used in unit-tests. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>