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

@ -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('[');