lib/ayadn/view.rb in ayadn-1.7.5 vs lib/ayadn/view.rb in ayadn-1.7.6
- old
+ new
@@ -94,10 +94,10 @@
@iter = 0
opts = Settings.options.dup
opts.each do |k,v|
v.delete_if {|ke,_| ke == :deleted || ke == :annotations} # don't show immutable values
v.each do |x,y|
- t << :separator if @iter >= 1
+ t << :separator if @iter >= 1 && Settings.options[:timeline][:compact] == false
unless y.is_a?(Hash)
t << [ k.to_s.color(:cyan), x.to_s.color(:yellow), y.to_s.color(:green) ]
else
y.each do |c|
t << [ k.to_s.color(:cyan), x.to_s.color(:yellow), "#{c[0]} = #{c[1]}".color(:green) ]