diff options
author | Renato "Lond" Cerqueira <renato@lond.com.br> | 2018-11-20 22:25:32 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-11-20 22:25:32 +0100 |
commit | c66739b418a7d3a2c85ebbce1b19bb0243c4e7f3 (patch) | |
tree | afcf1bb3637b528be3db2fd787db60d9a8cfb994 | |
parent | d1d237787002f53f47e121fa965f55dd9ddb977a (diff) |
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
-rw-r--r-- | lib/mastodon/accounts_cli.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mastodon/accounts_cli.rb b/lib/mastodon/accounts_cli.rb index 142436c19..9f7870bcd 100644 --- a/lib/mastodon/accounts_cli.rb +++ b/lib/mastodon/accounts_cli.rb @@ -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 |