1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

js: Add command line flag for disabling ANSI colors

This commit is contained in:
Idan Horowitz 2021-11-23 22:46:28 +02:00 committed by Linus Groh
parent c7d2df45b9
commit 11d1950e74
2 changed files with 193 additions and 150 deletions

View file

@ -28,6 +28,7 @@ Run `help()` in REPL mode to see its available built-in functions.
* `-m`, `--as-module`: Treat as module
* `-l`, `--print-last-result`: Print the result of the last statement executed.
* `-g`, `--gc-on-every-allocation`: Run garbage collection on every allocation.
* `-c`, `--disable-ansi-colors`: Disable ANSI colors
* `-s`, `--no-syntax-highlight`: Disable live syntax highlighting in the REPL
## Examples