Don't use current input as a possible completion

Now that completions are being shown in the popover, it doesn't make
sense to show the unfinished command as a potential completion.
This commit is contained in:
Ben Burwell 2019-12-20 13:21:34 -05:00 committed by Drew DeVault
parent 7160f98a90
commit 4d00a2b4d6
1 changed files with 0 additions and 1 deletions

View File

@ -78,7 +78,6 @@ func getCompletions(aerc *widgets.Aerc, cmd string) []string {
for _, set := range getCommands((*aerc).SelectedTab()) {
completions = append(completions, set.GetCompletions(aerc, cmd)...)
}
completions = append(completions, cmd)
return completions
}