-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pretty printing without color (#16)
Introduce a new flag `--color` that decides whether colors are printed while pretty-printing is on. Valid values are `on`, `off` and `auto`, which is the default. In the future, there is the possibility of autodetecting from TTY settings, but at the time of writing `auto` means `on`. The flags `-c` and `-C` can also be used to toggle color on/off respectively. NB: Currently, only applies to EDN printing. Additionally tests the pretty-printing with multiple line case, and ANSI color escape sequences.
- Loading branch information
Showing
4 changed files
with
48 additions
and
4 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
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