-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure all strings representing urwid colors map to a valid terminal …
…color. If the programmer creates an UrwidColor initialized with a string like "dark red", it would lead to a panic if TERM only supported 8 colors. This change maps "dark red" to an 8-color alternative if e.g. TERM=xterm. Fixes #10.
- Loading branch information
Showing
1 changed file
with
53 additions
and
54 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