forked from rust-lang/cargo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get window size on more Windows terminals.
This is an alternate approach to determining the window size that works on more Windows terminals. Terminals with accurate width detection: Normal Windows console, cmder, ConEmu, VS Code, Hyper, etc. mintty-based terminals will always be 60 characters wide. Cygwin in a command console is ok, but running under x-windows will also always be 60. Tested on Windows 8 and Windows 10. Closes rust-lang#5124.
- Loading branch information
Showing
1 changed file
with
35 additions
and
2 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