mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Rework color option
Rework the color option to support setting ANSI color code values ranging from 0..255 or "none" for no color or "list" to print a list of available ANSI colors codes. Also, disables color when piping.
This commit is contained in:
parent
2519e2081a
commit
46b5783789
8 changed files with 67 additions and 32 deletions
|
|
@ -47,7 +47,7 @@ The command-line interface is straightforward as reflected in the output from
|
|||
-l, --log Enable log to file
|
||||
--log-filename <filename> Set log filename
|
||||
-m, --map <flags> Map special characters
|
||||
-c, --color <code> Colorize tio text
|
||||
-c, --color 0..255|none|list Colorize tio text (default: 15)
|
||||
-S, --socket <socket> Listen on socket
|
||||
-x, --hex Enable hexadecimal mode
|
||||
-v, --version Display version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue