aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithubert <ikseno@googlemail.com>2016-08-27 21:37:42 +0200
committergithubert <ikseno@googlemail.com>2016-08-27 21:37:42 +0200
commit2bb19cc8477e7ed27f47397a49822c3a49bcfd4e (patch)
tree740b7ce113989ac71e96348255a216cd894e43ca
parent0837328668889d9d5e9fec23ef264d1b3b95ca9c (diff)
Fix problem with colored outputHEADmaster
-rwxr-xr-xu4
1 files changed, 2 insertions, 2 deletions
diff --git a/u b/u
index 8eb70b9..d91f756 100755
--- a/u
+++ b/u
@@ -29,7 +29,7 @@ my %commands = (
}
my $result = $dbh->selectall_arrayref("SELECT * FROM tasks $modifier", { Slice => {} });
-
+
foreach my $task ( @$result ) {
if ( $task->{checked} == "1" ) {
print colored( "✔", "bold green" );
@@ -38,7 +38,7 @@ my %commands = (
}
utf8::decode($task->{task});
- print colored(" $task->{task} ", $task->{verkackt} == "1" ? "underline yellow" : "");
+ print colored(" $task->{task} ", $task->{verkackt} == "1" ? "underline yellow" : "reset");
print "[#", colored( "$task->{id}", "bold yellow" ), "]\n";
}
},