RestoreTerminal restores the terminal state if SetRawTerminal succeeded earlier.
()
| 60 | |
| 61 | // RestoreTerminal restores the terminal state if SetRawTerminal succeeded earlier. |
| 62 | func (i *In) RestoreTerminal() { |
| 63 | i.cs.restoreTerminal() |
| 64 | } |
| 65 | |
| 66 | // CheckTty reports an error when stdin is requested for a TTY-enabled |
| 67 | // container, but the client stdin is not itself a terminal (for example, |
no test coverage detected