You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ruby-1.9.2-p180 :007 > a = %w(Blah a b c ad e fs f g)
=> ["Blah", "a", "b", "c", "ad", "e", "fs", "f", "g"]
ruby-1.9.2-p180 :008 > puts ui.list(a, :uneven_columns_across, 3)
Blah a b
c ad e
fs f g
=> nil
However, when there's bold formatting on the first row, it doesn't seem to work right:
ruby-1.9.2-p180 :009 > a = [ui.color("Blah", :bold), ui.color("a", :bold), ui.color("b", :bold), "c", "ad", "e", "fs", "f", "g"]
=> ["\e[1mBlah\e[0m", "\e[1ma\e[0m", "\e[1mb\e[0m", "c", "ad", "e", "fs", "f", "g"]
ruby-1.9.2-p180 :010 > puts ui.list(a, :uneven_columns_across, 3)
Blah a b
c ad e
fs f g
=> nil
One specific use case for this issue is the knife-rackspace library. Example.
The text was updated successfully, but these errors were encountered:
From #14:
This patch seems to work fine in the usual case.
However, when there's bold formatting on the first row, it doesn't seem to work right:
One specific use case for this issue is the
knife-rackspace
library. Example.The text was updated successfully, but these errors were encountered: