isTerminal returns whether this stream is connected to a terminal.
()
| 39 | |
| 40 | // isTerminal returns whether this stream is connected to a terminal. |
| 41 | func (s *commonStream) isTerminal() bool { return s.tty } |
| 42 | |
| 43 | // setIsTerminal overrides whether a terminal is connected for testing. |
| 44 | func (s *commonStream) setIsTerminal(isTerminal bool) { s.tty = isTerminal } |
no outgoing calls
no test coverage detected