summaryrefslogtreecommitdiff
path: root/commands/account
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account')
-rw-r--r--commands/account/clear.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/account/clear.go b/commands/account/clear.go
index 392fdd0..263b5de 100644
--- a/commands/account/clear.go
+++ b/commands/account/clear.go
@@ -2,6 +2,7 @@ package account
import (
"errors"
+ "time"
"git.sr.ht/~sircmpwn/aerc/widgets"
)
@@ -29,6 +30,6 @@ func (Clear) Execute(aerc *widgets.Aerc, args []string) error {
return errors.New("Cannot perform action. Messages still loading")
}
store.ApplyClear()
- aerc.SetStatus("Clear complete.")
+ aerc.PushStatus("Clear complete.", 10*time.Second)
return nil
}