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:
Martin Lund 2022-02-15 00:36:22 +01:00
parent a699561211
commit 0e62995e6e
7 changed files with 28 additions and 28 deletions

View file

@ -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);