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

Function isCygwinTerminal

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

Source from the content-addressed store, hash-verified

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

Callers 2

IsStdoutTTYMethod · 0.85
isTerminalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected