Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gabyx opened this issue Oct 13, 2020 · 1 comment
Open

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

gabyx opened this issue Oct 13, 2020 · 1 comment

Comments

@gabyx
Copy link

gabyx commented Oct 13, 2020

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?

@gabyx
Copy link
Author

gabyx commented Oct 13, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant