summaryrefslogtreecommitdiffstats
path: root/lib/colonial_twilight/colorized_string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/colonial_twilight/colorized_string.rb')
-rw-r--r--lib/colonial_twilight/colorized_string.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/colonial_twilight/colorized_string.rb b/lib/colonial_twilight/colorized_string.rb
index 2a63852..65f2623 100644
--- a/lib/colonial_twilight/colorized_string.rb
+++ b/lib/colonial_twilight/colorized_string.rb
@@ -93,7 +93,8 @@ class String
def resolve(key, var)
return self.class.color_codes[var] + 30 if key == :fg
return self.class.color_codes[var] + 40 if key == :bg
- return self.class.color_modes[var] if key == :mode
+
+ self.class.color_modes[var] if key == :mode
end
end