libstd: Long lines

This commit is contained in:
Brian Anderson
2011-12-17 17:02:07 -08:00
parent 555006a304
commit 39c8f0cb4a
+2 -1
View File
@@ -63,7 +63,8 @@ fn reset(writer: io::buf_writer) {
Returns true if the terminal supports color
*/
fn color_supported() -> bool {
let supported_terms = ["xterm-color", "xterm", "screen-bce", "xterm-256color"];
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 {