We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555006a commit 39c8f0cCopy full SHA for 39c8f0c
src/libstd/term.rs
@@ -63,7 +63,8 @@ Function: color_supported
63
Returns true if the terminal supports color
64
*/
65
fn color_supported() -> bool {
66
- let supported_terms = ["xterm-color", "xterm", "screen-bce", "xterm-256color"];
+ let supported_terms = ["xterm-color", "xterm",
67
+ "screen-bce", "xterm-256color"];
68
ret alt generic_os::getenv("TERM") {
69
option::some(env) {
70
for term: str in supported_terms {
0 commit comments