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
This commit is contained in:
parent
681de88df4
commit
5afe1e37c7
@ -353,7 +353,7 @@ proc colorstr {color str} {
|
|||||||
default {set colorcode {37}}
|
default {set colorcode {37}}
|
||||||
}
|
}
|
||||||
if {$colorcode ne {}} {
|
if {$colorcode ne {}} {
|
||||||
return "\033\[$b;${colorcode};40m$str\033\[0m"
|
return "\033\[$b;${colorcode};49m$str\033\[0m"
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return $str
|
return $str
|
||||||
|
Loading…
x
Reference in New Issue
Block a user