diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-05-19 18:21:02 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-19 18:21:02 -0400 |
commit | fa5d8d7a007aa0030a4b2bfb122dabab3e69ad4b (patch) | |
tree | e8ac0af8b0699528d048c6dd7bc7c89b0c6ca52b /commands/account/delete-message.go | |
parent | f9251c2344d7a7d9661fdefa66734dceefba8488 (diff) | |
download | aerc-fa5d8d7a007aa0030a4b2bfb122dabab3e69ad4b.tar.gz |
Advance cursor after :delete and :move
So that you can repeat the action on the next message if appropriate
Diffstat (limited to 'commands/account/delete-message.go')
-rw-r--r-- | commands/account/delete-message.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/account/delete-message.go b/commands/account/delete-message.go index 2ad470b..d6b669e 100644 --- a/commands/account/delete-message.go +++ b/commands/account/delete-message.go @@ -24,6 +24,7 @@ func DeleteMessage(aerc *widgets.Aerc, args []string) error { } store := acct.Messages().Store() msg := acct.Messages().Selected() + acct.Messages().Next() store.Delete([]uint32{msg.Uid}, func(msg types.WorkerMessage) { switch msg := msg.(type) { case *types.Done: |