(streams command.Streams)
| 202 | } |
| 203 | |
| 204 | func setRawTerminal(streams command.Streams) error { |
| 205 | if err := streams.In().SetRawTerminal(); err != nil { |
| 206 | return err |
| 207 | } |
| 208 | return streams.Out().SetRawTerminal() |
| 209 | } |
| 210 | |
| 211 | func restoreTerminal(streams command.Streams, in io.Closer) error { |
| 212 | streams.In().RestoreTerminal() |
no test coverage detected
searching dependent graphs…