MCPcopy Create free account
hub / github.com/cli/cli / isCygwinTerminal

Function isCygwinTerminal

pkg/iostreams/iostreams.go:610–612  ·  view source on GitHub ↗
(fd uintptr)

Source from the content-addressed store, hash-verified

608}
609
610func isCygwinTerminal(fd uintptr) bool {
611 return isatty.IsCygwinTerminal(fd)
612}
613
614// pagerWriter implements a WriteCloser that wraps all EPIPE errors in an ErrClosedPagerPipe type.
615type pagerWriter struct {

Callers 2

IsStdoutTTYMethod · 0.85
isTerminalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected