()
| 222 | } |
| 223 | |
| 224 | func (c *SecureShell) Wait() error { |
| 225 | keepaliveStopCh := make(chan struct{}) |
| 226 | defer close(keepaliveStopCh) |
| 227 | |
| 228 | go keepalive(c.secureClient.Conn(), time.NewTicker(c.keepAliveInterval), keepaliveStopCh) |
| 229 | |
| 230 | return c.secureClient.Wait() |
| 231 | } |
| 232 | |
| 233 | func (c *SecureShell) getWindowDimensions(terminalFd uintptr) (width int, height int) { |
| 234 | winSize, err := c.terminalHelper.GetWinsize(terminalFd) |
nothing calls this directly
no test coverage detected