Skip to content

Commit

Permalink
Don't print blank newlines if no new comments
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed May 6, 2009
1 parent 92d3ab5 commit ac04598
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/tweet-tail/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def self.execute(stdout, arguments=[])
while(options[:polling])
Kernel::sleep(15)
app.refresh
stdout.puts app.render_latest_results
if app.render_latest_results.size > 0
stdout.puts app.render_latest_results
end
end
rescue Interrupt
end
Expand Down

0 comments on commit ac04598

Please sign in to comment.