mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Only apply color formatting when using color option
To help the color blind who may use custom terminal foreground / background colors.
This commit is contained in:
parent
a699561211
commit
0e62995e6e
7 changed files with 28 additions and 28 deletions
|
|
@ -62,8 +62,8 @@ int main(int argc, char *argv[])
|
|||
if (option.log)
|
||||
log_open(option.log_filename);
|
||||
|
||||
/* Enable color printing */
|
||||
print_set_color_mode(true);
|
||||
/* Enable ANSI text formatting (colors etc.) */
|
||||
print_enable_ansi_formatting();
|
||||
|
||||
/* Print launch hints */
|
||||
tio_printf("tio v%s", VERSION);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue