mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
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:
commit
97765561a2
@ -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