On git-bash.exe in windows stdout is no terminal?
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 69
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Go snippet under Windows with git-bash.exe, then start by locating the implementation of term.IsTerminal and tracing how stdout and stderr are checked. Done means explaining the differing results or identifying a focused change that makes the behavior correct, with a regression test if the repository supports one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100