Skip to content

On git-bash.exe in windows stdout is no terminal? #18

Open
@gabyx

Description

@gabyx

On windows with git-bash.exe: The following reports false and true

fmt.Print(term.IsTerminal(os.Stdout.Fd()))
fmt.Print(term.IsTerminal(os.Stderr.Fd()))

Do you know why stdout is no terminal but stderr is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions