x/term: git-bash.exe reports stdout is not a terminal. #46681
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?1.16
Does this issue reproduce with the latest release?
yes (v0.0.0-20210503060354-a79de5458b56)
What operating system and processor architecture are you using (
go env
)?Windows 10
go env
OutputWhat did you do?
go run main.go
go run main.go
What did you expect to see?
What did you see instead?
@mattn: The package
isatty
has the exact same issue altough working differently:fmt.Print(isatty.IsTerminal(os.Stdout.Fd()))
The text was updated successfully, but these errors were encountered: