aboutsummaryrefslogblamecommitdiffstats
path: root/commands/next-folder.go
blob: 02975e10ad1b51e0bb65e7400da8518268a7e62b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                       
package commands

import (
	"git.sr.ht/~sircmpwn/aerc2/widgets"
)

func init() {
	Register("next-folder", NextFolder)
}

func NextFolder(aerc *widgets.Aerc, cmd string) error {
	acct := aerc.SelectedAccount()
	acct.Directories().Next()
	return nil
}