-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate the dependencies for the IsTerminal() API (#156)
* Consolidate the dependencies for the IsTerminal() API The code was already using golang.org/x/term for the IsTerminal() API. It seems better to stick to packages from the golang.org domain, because they are likely to be more widely used than github.com/mattn/go-isatty, and one less dependency is always a good thing. This can reduce the number of dependencies for consumers of github.com/briandowns/spinner, who may already have golang.org/x/term in their dependency chain.
- Loading branch information
1 parent
12e6c29
commit 8f269dd
Showing
3 changed files
with
7 additions
and
7 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
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
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