mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 14:40:22 +00:00
logging: reset style only on tty
This commit is contained in:
@@ -130,7 +130,8 @@ void log_msg(int level, const char *format, ...)
|
||||
}
|
||||
va_end(ap);
|
||||
|
||||
buf.append(TERM_RESET);
|
||||
if(get_log_output().is_interactive())
|
||||
buf.append(TERM_RESET);
|
||||
buf.submit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user