forked from softprops/atty
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tty detection for MSYS terminals.
This improves the tty detection in MSYS terminal environments on Windows. Specifically, it uses heuristics to determine whether a standard handle is a pipe or a tty. Behavior in normal Windows consoles remains unchanged. Fixes softprops#10
- Loading branch information
1 parent
ca2ab17
commit db8d55f
Showing
1 changed file
with
85 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters