()
| 84 | } |
| 85 | |
| 86 | func (i in) IsTerminal() bool { |
| 87 | if f, ok := i.Reader.(*os.File); ok { |
| 88 | return isTerminal(f) |
| 89 | } |
| 90 | return false |
| 91 | } |
| 92 | |
| 93 | func (i in) ForceIsTerminal(_ bool) { |
| 94 | panic("only work with a test env") |
nothing calls this directly
no test coverage detected