-
-
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.
feat: proof of concept for swapping color schemes
Inits a Log.config dictionary that pulls the color scheme from config.color_scheme. The colors can also be passed to Log.to_pretty in the opts dict. Once the schemes are being merged, it'll be possible to overwrite specific types without clearing the rest of the colors. Ideally the prettier colors would be opt-ed into by the editor-launched games, and the term-safe would be used in other circumstances (test runners, 'built' production games) A similar feature should make it easy to opt-out of colors - I wonder if it's easy to read a `--log-no-colors` arg from the command line.
- Loading branch information
1 parent
54d8bb2
commit b8e5958
Showing
3 changed files
with
58 additions
and
18 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