diff options
author | Araq <rumpf_a@web.de> | 2015-07-16 15:26:04 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-07-16 15:26:04 +0200 |
commit | f79e58edcea0803ceb1a2d730eacc67419545289 (patch) | |
tree | 4edc73a732e628870cb036e7c59a1e2c4df775df | |
parent | 728fc441ef7d1e81b7f2cc5cb2df04a7b7ced179 (diff) | |
download | Nim-f79e58edcea0803ceb1a2d730eacc67419545289.tar.gz |
don't reset the terminal when --stdout is active
-rw-r--r-- | compiler/msgs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim index e6bc45da6..bb247ea54 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -866,7 +866,7 @@ proc rawMessage*(msg: TMsgKind, arg: string) = rawMessage(msg, [arg]) proc resetAttributes* = - if optUseColors in gGlobalOptions: + if {optUseColors, optStdout} * gGlobalOptions == {optUseColors}: terminal.resetAttributes() stdout.flushFile() |