Allow users to disable colorization of output

This commit is contained in:
Aaron Lichtman 2019-11-06 18:25:57 +01:00
parent 1a0847b38d
commit a23a818106
No known key found for this signature in database
GPG key ID: 22368077DE9F9903
2 changed files with 15 additions and 7 deletions

View file

@ -33,7 +33,7 @@ and can be edited with any plain text editor.
- `linewrap`
controls the width of the output. Set to `false` if you don't want to wrap long lines.
- `colors`
dictionary that controls the colors used to display journal entries. It has two subkeys, which are: `date` and `title`. Current valid values are: `BLACK`, `RED`, `GREEN`, `YELLOW`, `BLUE`, `MAGENTA`, `CYAN`, and `WHITE`. `colorama.Fore` is used for colorization, and you can find the [docs here](https://github.com/tartley/colorama#colored-output).
dictionary that controls the colors used to display journal entries. It has two subkeys, which are: `date` and `title`. Current valid values are: `BLACK`, `RED`, `GREEN`, `YELLOW`, `BLUE`, `MAGENTA`, `CYAN`, and `WHITE`. `colorama.Fore` is used for colorization, and you can find the [docs here](https://github.com/tartley/colorama#colored-output). To disable colored output, set the value to `NONE`.
!!! note
Although it seems intuitive to use the `#`