Merge pull request #504 from msullivan/term-xterm-color

Add xterm to the term lib's list of supported terms.
This commit is contained in:
Patrick Walton 2011-06-15 17:42:09 -07:00
commit 97765561a2

View File

@ -49,6 +49,7 @@ fn reset(io::buf_writer writer) {
fn color_supported() -> bool {
auto supported_terms = ["xterm-color",
"xterm",
"screen-bce"];
ret alt (generic_os::getenv("TERM")) {
case (option::some(?env)) {