Exception when --no-color is not used on windows
- Dominant language
- Haskell
- Stars
- 69
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
```
$ hiedb index .hie
hiedb.exe: Error: GetNumberOfConsoleInputEvents: invalid argument (Das Handle ist ungültig.)
This error may be avoided by using a console based on the Win32 console of the Windows API, such as Command Prompt or PowerShell.
CallStack (from HasCallStack):
error, called at src\\System\\Console\\ANSI\\Windows\\Emulator.hs:509:27 in ansi-terminal-0.10.3-AqyEIVKuLd8GZqKlPHUPap:System.Console.ANSI.Windows.Emulator
```
using git bash on windows 10
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure with `hiedb index .hie` in Git Bash on Windows 10, then inspect the reported `src/System/Console/ANSI/Windows/Emulator.hs` location around line 509 and how HieDb invokes console color handling. Done means the command no longer raises the `GetNumberOfConsoleInputEvents` error when color is enabled in that environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100