aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-31 16:56:20 -0400
committerDavid Robillard <d@drobilla.net>2016-07-31 16:56:20 -0400
commite9881593d569f5838cb7897c6fff76ce7406c794 (patch)
tree771c70e67b356a6852284638b0dffa135f7702a5 /src/jalv_internal.h
parent398b7e32e003e17e9805e4c1dbfa12fc59373c17 (diff)
downloadjalv-e9881593d569f5838cb7897c6fff76ce7406c794.tar.gz
jalv-e9881593d569f5838cb7897c6fff76ce7406c794.tar.bz2
jalv-e9881593d569f5838cb7897c6fff76ce7406c794.zip
Fix log colour state
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 96433c5..bda4016 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -448,6 +448,7 @@ jalv_ansi_reset(FILE* stream)
#ifdef HAVE_ISATTY
if (isatty(fileno(stream))) {
fprintf(stream, "\033[0m");
+ fflush(stream);
}
#endif
}