Fix color term detection in std::termivec
Pretty error messages to be restored
This commit is contained in:
parent
18162d3261
commit
c51f5f18dd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue