diff options
| author | 2023-05-06 16:33:45 -0500 | |
|---|---|---|
| committer | 2023-05-06 16:33:45 -0500 | |
| commit | cabbaded68947a7be3bee5c5b9e0dff0a3963c48 (patch) | |
| tree | 17bd67cba06775dc32f4ca710562bb505d1d3c37 /janet.1 | |
| parent | update readme (diff) | |
Add support for the NO_COLOR environment variable.
Diffstat (limited to 'janet.1')
| -rw-r--r-- | janet.1 | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -184,6 +184,10 @@ default repl. Disable ANSI colors in the repl. Has no effect if no repl is run. .TP +.BR \-N +Enable ANSI colors in the repl. Has no effect if no repl is run. + +.TP .BR \-r Open a REPL (Read Eval Print Loop) after executing all sources. By default, if Janet is called with no arguments, a REPL is opened. @@ -268,5 +272,11 @@ This variable does nothing in the default configuration of Janet, as PRF is disa cannot be defined for this variable to have an effect. .RE +.B NO_COLOR +.RS +Turn off color by default in the repl and in the error handler of scripts. This can be changed at runtime +via dynamic bindings *err-color* and *pretty-format*, or via the command line parameters -n and -N. +.RE + .SH AUTHOR Written by Calvin Rose <calsrose@gmail.com> |
