don't reset the terminal when --stdout is active
This commit is contained in:
parent
728fc441ef
commit
f79e58edce
1 changed files with 1 additions and 1 deletions
|
|
@ -866,7 +866,7 @@ proc rawMessage*(msg: TMsgKind, arg: string) =
|
||||||
rawMessage(msg, [arg])
|
rawMessage(msg, [arg])
|
||||||
|
|
||||||
proc resetAttributes* =
|
proc resetAttributes* =
|
||||||
if optUseColors in gGlobalOptions:
|
if {optUseColors, optStdout} * gGlobalOptions == {optUseColors}:
|
||||||
terminal.resetAttributes()
|
terminal.resetAttributes()
|
||||||
stdout.flushFile()
|
stdout.flushFile()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue