MCPcopy
hub / github.com/cloudfoundry/cli / terminalType

Method terminalType

cf/ssh/ssh.go:433–439  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

431}
432
433func (c *secureShell) terminalType() string {
434 term := os.Getenv("TERM")
435 if term == "" {
436 term = "xterm"
437 }
438 return term
439}
440
441func (c *secureShell) getWindowDimensions(terminalFd uintptr) (width int, height int) {
442 winSize, err := c.terminalHelper.GetWinsize(terminalFd)

Callers 1

InteractiveSessionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected