Add xterm to the term lib's list of supported terms.

This commit is contained in:
Michael Sullivan 2011-06-15 17:33:37 -07:00
parent 94d971c0e8
commit a91d301b31

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)) {