]> git.lizzy.rs Git - rust.git/commitdiff
libstd: Long lines
authorBrian Anderson <banderson@mozilla.com>
Sun, 18 Dec 2011 01:02:07 +0000 (17:02 -0800)
committerBrian Anderson <banderson@mozilla.com>
Sun, 18 Dec 2011 01:02:07 +0000 (17:02 -0800)
src/libstd/term.rs

index 49966e9be602d20ae1e0b529001f5297f81cdc91..9a919a40087d07b360cafa208f8e9c8fea5eae73 100644 (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 {