lib/ayadn/set.rb in ayadn-1.2.2 vs lib/ayadn/set.rb in ayadn-1.2.3
- old
+ new
@@ -377,10 +377,16 @@
Settings.options[:timeline][:show_nicerank] = value
end
def show_spinner value
Settings.options[:timeline][:show_spinner] = value
end
+ def show_debug value
+ unless Settings.options[:colors][:debug]
+ Settings.options[:colors][:debug] = :cyan
+ end
+ Settings.options[:timeline][:show_debug] = value
+ end
end
class SetColor
def initialize
Settings.load_config
@@ -443,8 +449,12 @@
Settings.options[:colors][:source] = color.to_sym
end
def symbols(color)
Settings.options[:colors][:symbols] = color.to_sym
+ end
+
+ def debug(color)
+ Settings.options[:colors][:debug] = color.to_sym
end
end
end