diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-12-17 16:44:27 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-12-17 16:44:27 -0800 |
| commit | 00be34608914681e9a0a14611fc5ced6cffa32ec (patch) | |
| tree | 763783b866ee8022254427f254c452099a33067b /src/libstd | |
| parent | 471b4d6e58baba9ee880c8c8f4183bcf363708cf (diff) | |
libstd: Add 'xterm-256-color' to list of color-enabled terminals
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/term.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/term.rs b/src/libstd/term.rs index 124e73b75d7..49966e9be60 100644 --- a/src/libstd/term.rs +++ b/src/libstd/term.rs @@ -63,7 +63,7 @@ Function: color_supported Returns true if the terminal supports color */ fn color_supported() -> bool { - let supported_terms = ["xterm-color", "xterm", "screen-bce"]; + let supported_terms = ["xterm-color", "xterm", "screen-bce", "xterm-256color"]; ret alt generic_os::getenv("TERM") { option::some(env) { for term: str in supported_terms { |
