Browse Source

Touch account on successful response, change char shown when culled (#9293)

Just the color is not enough change since not everyone uses colored
terminals.
Touching the account makes it so that the account is not in the
threshold window in case of running again
pull/4/head
Renato "Lond" Cerqueira 5 years ago
committed by Eugen Rochko
parent
commit
c66739b418
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/mastodon/accounts_cli.rb

+ 2
- 1
lib/mastodon/accounts_cli.rb View File

@ -242,8 +242,9 @@ module Mastodon
end
culled += 1
say('.', :green, false)
say('+', :green, false)
else
account.touch # Touch account even during dry run to avoid getting the account into the window again
say('.', nil, false)
end
end

Loading…
Cancel
Save