aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/move.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/move.go')
-rw-r--r--commands/msg/move.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/commands/msg/move.go b/commands/msg/move.go
index 504beda9..a19194ee 100644
--- a/commands/msg/move.go
+++ b/commands/msg/move.go
@@ -3,6 +3,7 @@ package msg
import (
"errors"
"strings"
+ "time"
"git.sr.ht/~sircmpwn/getopt"
@@ -68,9 +69,9 @@ func (Move) Execute(aerc *widgets.Aerc, args []string) error {
switch msg := msg.(type) {
case *types.Done:
- aerc.PushStatus("Message moved to " + joinedArgs)
+ aerc.PushStatus("Message moved to "+joinedArgs, 10*time.Second)
case *types.Error:
- aerc.PushError(" " + msg.Error.Error())
+ aerc.PushError(" "+msg.Error.Error(), 10*time.Second)
}
})
return nil