MCPcopy Index your code
hub / github.com/cloudfoundry/cli / terminalType

Method terminalType

util/clissh/ssh.go:328–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

326}
327
328func (c *SecureShell) terminalType() string {
329 term := os.Getenv("TERM")
330 if term == "" {
331 term = "xterm"
332 }
333 return term
334}
335
336func sha256Fingerprint(key ssh.PublicKey, encode bool) string {
337 sum := sha256.Sum256(key.Marshal())

Callers 1

InteractiveSessionMethod · 0.95

Implementers 4

secureShellcf/ssh/ssh.go
FakeSecureShellcf/ssh/sshfakes/fake_secure_shell.go
FakeSecureShellClientactor/sharedaction/sharedactionfakes/f
SecureShellutil/clissh/ssh.go

Calls

no outgoing calls

Tested by

no test coverage detected