Commit 5afe1e37 authored by Mariano Pérez Rodríguez's avatar Mariano Pérez Rodríguez Committed by antirez
Browse files

Stop tests from leaving a black background

Uses ANSI "default background" color code after closing tests
so any non-black terminals don't remain polluted.

Fixes #1649
Closes #1912
parent 681de88d
......@@ -353,7 +353,7 @@ proc colorstr {color str} {
default {set colorcode {37}}
}
if {$colorcode ne {}} {
return "\033\[$b;${colorcode};40m$str\033\[0m"
return "\033\[$b;${colorcode};49m$str\033\[0m"
}
} else {
return $str
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment