mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 03:33:28 +00:00
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}}
|
||||
}
|
||||
if {$colorcode ne {}} {
|
||||
return "\033\[$b;${colorcode};40m$str\033\[0m"
|
||||
return "\033\[$b;${colorcode};49m$str\033\[0m"
|
||||
}
|
||||
} else {
|
||||
return $str
|
||||
|
Loading…
Reference in New Issue
Block a user