lib/zeusd/interpreter.rb in zeusd-0.2.4 vs lib/zeusd/interpreter.rb in zeusd-0.2.5
- old
+ new
@@ -81,9 +81,13 @@
if self[0] == "\e" && !self.index('m').nil?
self[0..self.index('m')]
end
end
+ def color?
+ !!color
+ end
+
end
end
end
\ No newline at end of file