thartm 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/thartm.rb +4 -4
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lib/thartm.rb
CHANGED
@@ -155,10 +155,10 @@ class CommandLineInterface
|
|
155
155
|
|
156
156
|
def color(s,t)
|
157
157
|
p = case t[:task][0][:priority]
|
158
|
-
when 'N' then printf("\e[0m%s
|
159
|
-
when '1' then printf("\e[31;40m%s
|
160
|
-
when '2' then printf("\e[32;40m%s
|
161
|
-
when '3' then printf("\e[32;40m%s
|
158
|
+
when 'N' then printf("\e[0m%s\e[0m",s)
|
159
|
+
when '1' then printf("\e[31;40m%s\e[0m",s)
|
160
|
+
when '2' then printf("\e[32;40m%s\e[0m",s)
|
161
|
+
when '3' then printf("\e[32;40m%s\e[0m",s)
|
162
162
|
else puts "err"
|
163
163
|
end
|
164
164
|
|