-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
windows: support the first 16 Ansi256
While the native Windows console APIs have very limited support for colors, we can at least support the first 16 colors of the ANSI spectrum by translating them to the standard Windows 8-bit palette, along with toggling the intensity to make 16 total colors. This fixes a bug that was reported against rustc. See: rust-lang/rust#55788 (comment)
- Loading branch information
1 parent
a250e46
commit 3beef8b
Showing
1 changed file
with
40 additions
and
22 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