Fix color term detection in std::termivec

Pretty error messages to be restored
This commit is contained in:
Brian Anderson 2011-07-19 15:01:37 -07:00
parent 18162d3261
commit c51f5f18dd

View File

@ -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
}