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 471b4d6 commit 00be346Copy full SHA for 00be346
src/libstd/term.rs
@@ -63,7 +63,7 @@ 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"];
+ let supported_terms = ["xterm-color", "xterm", "screen-bce", "xterm-256color"];
67
ret alt generic_os::getenv("TERM") {
68
option::some(env) {
69
for term: str in supported_terms {
0 commit comments