Update status message to include destination

This commit is contained in:
Jeffas 2019-07-15 22:17:00 +01:00 committed by Drew DeVault
parent 1c419d1b4d
commit 715c9a4797

View file

@ -68,7 +68,7 @@ func (_ Move) Execute(aerc *widgets.Aerc, args []string) error {
switch msg := msg.(type) {
case *types.Done:
aerc.PushStatus("Messages moved.", 10*time.Second)
aerc.PushStatus("Message moved to "+args[optind], 10*time.Second)
case *types.Error:
aerc.PushStatus(" "+msg.Error.Error(), 10*time.Second).
Color(tcell.ColorDefault, tcell.ColorRed)