Skip to content

Commit 9776556

Browse files
committed
Merge pull request #504 from msullivan/term-xterm-color
Add xterm to the term lib's list of supported terms.
2 parents 94d971c + a91d301 commit 9776556

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/term.rs

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ fn reset(io::buf_writer writer) {
4949

5050
fn color_supported() -> bool {
5151
auto supported_terms = ["xterm-color",
52+
"xterm",
5253
"screen-bce"];
5354
ret alt (generic_os::getenv("TERM")) {
5455
case (option::some(?env)) {

0 commit comments

Comments
 (0)