Issue IMAP SELECT command

This commit is contained in:
Drew DeVault 2019-01-13 16:18:10 -05:00
parent cf66462000
commit 2750f99a60
4 changed files with 53 additions and 1 deletions

View file

@ -47,6 +47,7 @@ func (dirlist *DirectoryList) UpdateList(done func(dirs []string)) {
func (dirlist *DirectoryList) Select(name string) {
dirlist.selected = name
dirlist.worker.PostAction(&types.OpenDirectory{Directory: name}, nil)
dirlist.Invalidate()
}