aerc/commands/next-folder.go
2019-03-10 21:15:24 -04:00

15 lines
250 B
Go

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
}