MCPcopy Index your code
hub / github.com/cli/cli / isCygwinTerminal

Function isCygwinTerminal

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

Source from the content-addressed store, hash-verified

572}
573
574func isCygwinTerminal(fd uintptr) bool {
575 return isatty.IsCygwinTerminal(fd)
576}
577
578// pagerWriter implements a WriteCloser that wraps all EPIPE errors in an ErrClosedPagerPipe type.
579type pagerWriter struct {

Callers 2

IsStdoutTTYMethod · 0.85
isTerminalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected