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
|
|
@ -696,7 +696,7 @@ int tty_connect(void)
|
|||
now = current_time();
|
||||
if (now)
|
||||
{
|
||||
color_printf_raw("[%s] ", now);
|
||||
ansi_printf_raw("[%s] ", now);
|
||||
if (option.log)
|
||||
{
|
||||
log_write('[');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue