summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/showmsg.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/showmsg.c b/src/common/showmsg.c
index 4d4fcafd6..9d7395730 100644
--- a/src/common/showmsg.c
+++ b/src/common/showmsg.c
@@ -44,9 +44,10 @@
///////////////////////////////////////////////////////////////////////////////
/// behavioral parameter.
-/// when true, prints ansi sequences also when redirecting outputs to file
-/// otherwise remove them
-int stdout_with_ansisequence = 1;
+/// when redirecting output:
+/// if true prints escape sequences
+/// if false removes the escape sequences
+int stdout_with_ansisequence = 0;
int msg_silent; //Specifies how silent the console is.