(terminalFd uintptr)
| 439 | } |
| 440 | |
| 441 | func (c *secureShell) getWindowDimensions(terminalFd uintptr) (width int, height int) { |
| 442 | winSize, err := c.terminalHelper.GetWinsize(terminalFd) |
| 443 | if err != nil { |
| 444 | winSize = &term.Winsize{ |
| 445 | Width: 80, |
| 446 | Height: 43, |
| 447 | } |
| 448 | } |
| 449 | |
| 450 | return int(winSize.Width), int(winSize.Height) |
| 451 | } |
| 452 | |
| 453 | type secureDialer struct{} |
| 454 |
no test coverage detected