lib/tw/app/main.rb in tw-0.2.2 vs lib/tw/app/main.rb in tw-0.2.3
- old
+ new
@@ -95,10 +95,10 @@
auth
if @parser.argv.size < 1
Render.display client.mentions
elsif all_requests?(@parser.argv)
- Render.display @parser.argv.map{|arg|
+ Render.display Parallel.map(@parser.argv, :in_threads => @parser.argv.size){|arg|
if user = username?(arg)
res = client.user_timeline user
elsif (user, list =listname?(arg)) != false
res = client.list_timeline(user, list)
end