[Bps-public-commit] App-Todo branch, master, updated. 0.97-1-g84883e7

Thomas Sibley trs at bestpractical.com
Thu Feb 25 13:44:02 EST 2010


The branch, master has been updated
       via  84883e745b23520038afc8c422f19c010a0d7229 (commit)
      from  64777db5c622a09b4ecd5fb5f2fea766faf957bb (commit)

Summary of changes:
 bin/todo.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 84883e745b23520038afc8c422f19c010a0d7229
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Feb 25 13:43:52 2010 -0500

    Support colors for screen too

diff --git a/bin/todo.pl b/bin/todo.pl
index 2ed9b7c..a78d00d 100755
--- a/bin/todo.pl
+++ b/bin/todo.pl
@@ -722,7 +722,7 @@ sub supports_color {
         return 1 if not $@;
     }
     else {
-        return 1 if $ENV{'TERM'} =~ /^(xterm|rxvt|linux|ansi)/;
+        return 1 if $ENV{'TERM'} =~ /^(xterm|rxvt|linux|ansi|screen)/;
         return 1 if $ENV{'COLORTERM'};
     }
     return 0; 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list