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("prev-folder", PrevFolder) } func PrevFolder(aerc *widgets.Aerc, cmd string) error { acct := aerc.SelectedAccount() acct.Directories().Prev() return nil }