mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Add xterm to the term lib's list of supported terms.
This commit is contained in:
parent
94d971c0e8
commit
a91d301b31
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user