Fix color term detection in std::termivec
Pretty error messages to be restored
This commit is contained in:
parent
18162d3261
commit
c51f5f18dd
@ -52,7 +52,7 @@ fn color_supported() -> bool {
|
||||
ret alt (generic_os::getenv("TERM")) {
|
||||
case (option::some(?env)) {
|
||||
for (str term in supported_terms) {
|
||||
if (str::eq(term, env)) { true }
|
||||
if (str::eq(term, env)) { ret true; }
|
||||
}
|
||||
false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user