Add IMAP folder tab completion
Credit for this fix goes to Reto; I guess if we're not gonna be mutt we should probabaly do things correctly.
This commit is contained in:
parent
8d9d94f0ee
commit
f9d26eef58
4 changed files with 32 additions and 3 deletions
widgets
|
|
@ -43,10 +43,14 @@ func NewDirectoryList(acctConf *config.AccountConfig, uiConf *config.UIConfig,
|
|||
return dirlist
|
||||
}
|
||||
|
||||
func (dirlist *DirectoryList) List() []string {
|
||||
func (dirlist *DirectoryList) FilteredList() []string {
|
||||
return dirlist.dirs
|
||||
}
|
||||
|
||||
func (dirlist *DirectoryList) List() []string {
|
||||
return dirlist.store.List()
|
||||
}
|
||||
|
||||
func (dirlist *DirectoryList) UpdateList(done func(dirs []string)) {
|
||||
var dirs []string
|
||||
dirlist.worker.PostAction(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue