From fa5d8d7a007aa0030a4b2bfb122dabab3e69ad4b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 19 May 2019 18:21:02 -0400 Subject: Advance cursor after :delete and :move So that you can repeat the action on the next message if appropriate --- commands/account/move.go | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/account/move.go') diff --git a/commands/account/move.go b/commands/account/move.go index d4978ac..d58a279 100644 --- a/commands/account/move.go +++ b/commands/account/move.go @@ -25,6 +25,7 @@ func Move(aerc *widgets.Aerc, args []string) error { } msg := acct.Messages().Selected() store := acct.Messages().Store() + acct.Messages().Next() store.Move([]uint32{msg.Uid}, args[1], func(msg types.WorkerMessage) { switch msg := msg.(type) { case *types.Done: -- cgit v1.2.3