mirror of
https://github.com/fluencelabs/redis
synced 2025-06-01 11:31:20 +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
32168a5e8a
commit
f862e5ddfa
@ -351,7 +351,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…
x
Reference in New Issue
Block a user