Out is an output stream to write normal program output. It implements an [io.Writer], with additional utilities for detecting whether a terminal is connected, getting the TTY size, and putting the terminal in raw mode.
| 11 | // an [io.Writer], with additional utilities for detecting whether a terminal |
| 12 | // is connected, getting the TTY size, and putting the terminal in raw mode. |
| 13 | type Out struct { |
| 14 | out io.Writer |
| 15 | cs commonStream |
| 16 | } |
| 17 | |
| 18 | // NewOut returns a new [Out] from an [io.Writer]. If out is an [*os.File], |
| 19 | // a reference is kept to the file, and accessible through [Out.File]. |
nothing calls this directly
no outgoing calls
no test coverage detected