Permalink
Browse files

Use new thor say API, which supports :bold

  • Loading branch information...
1 parent c5eaced commit 05ede5a3ea634d1aed9184c5acd5b41cdc2d5e94 @sferik sferik committed Apr 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/t/printable.rb
View
@@ -83,9 +83,9 @@ def print_statuses(statuses)
ENV['THOR_COLUMNS'] = "80"
if STDOUT.tty? && !options['no-color']
statuses.each do |status|
- say(" #{Thor::Shell::Color::BOLD}@#{status.user.screen_name}", :yellow)
+ say(" @#{status.user.screen_name}", :yellow, :bold)
print_wrapped(status.text, :indent => 3)
- say(" #{Thor::Shell::Color::BOLD}#{time_ago_in_words(status.created_at)} ago", :black)
+ say(" #{time_ago_in_words(status.created_at)} ago", :black, :bold)
say
end
else

0 comments on commit 05ede5a

Please sign in to comment.