Pty returns PTY information, a channel of window size changes, and a boolean of whether or not a PTY was accepted for this session.
()
| 68 | // Pty returns PTY information, a channel of window size changes, and a boolean |
| 69 | // of whether or not a PTY was accepted for this session. |
| 70 | Pty() (Pty, <-chan Window, bool) |
| 71 | |
| 72 | // Signals registers a channel to receive signals sent from the client. The |
| 73 | // channel must handle signal sends or it will block the SSH request loop. |