Debug: use the rang library for color output

This commit is contained in:
Martin Pulec
2018-09-19 10:26:20 +02:00
parent 28699bac9c
commit 921d094444
3 changed files with 14 additions and 69 deletions

View File

@@ -58,7 +58,6 @@ char *export_dir = NULL;
volatile bool should_exit = false;
volatile int log_level = LOG_LEVEL_INFO;
bool color_nix_term = (getenv("TERM") && set<string>{"linux", "screen", "xterm", "xterm-256color"}.count(getenv("TERM")) > 0) && isatty(1) && isatty(2);
volatile int audio_offset;
volatile int video_offset;