about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2011-06-15 17:33:37 -0700
committerMichael Sullivan <sully@msully.net>2011-06-15 17:33:37 -0700
commita91d301b31ee04a16965f31244b6d4e8eb482491 (patch)
tree7844673ac86a1a44423104d575ea148c0435cae8 /src/lib
parent94d971c0e8f54ca22bbfdb08196282bd83e6c77b (diff)
downloadrust-a91d301b31ee04a16965f31244b6d4e8eb482491.tar.gz
rust-a91d301b31ee04a16965f31244b6d4e8eb482491.zip
Add xterm to the term lib's list of supported terms.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/term.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/term.rs b/src/lib/term.rs
index 9ec70729416..14fddb55633 100644
--- a/src/lib/term.rs
+++ b/src/lib/term.rs
@@ -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)) {