npkill
npkill copied to clipboard
Windows Git Bash Support
I know its a known bug as per readme, but since there is no issue for it this will be used to keep track of it.
I am not really sure, why the tool claims the Git Bash on Windows has is not a TTY. I am using TTY features all the time ne my own projects. I am using the prompts
and similar projects for keyboard navigation just fine there.
So I'll investigate what the problem here might be and provide a PR.
Why are you checking the stdout
for TTY and not stdin
? You need that for keyboard navigation, right?
https://github.com/voidcosmos/npkill/blob/master/src/controller.ts#L220
@zaldih what about using stdin
as @pke asked?