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:
parent
7160f98a90
commit
4d00a2b4d6
1 changed files with 0 additions and 1 deletions
1
aerc.go
1
aerc.go
|
@ -78,7 +78,6 @@ func getCompletions(aerc *widgets.Aerc, cmd string) []string {
|
||||||
for _, set := range getCommands((*aerc).SelectedTab()) {
|
for _, set := range getCommands((*aerc).SelectedTab()) {
|
||||||
completions = append(completions, set.GetCompletions(aerc, cmd)...)
|
completions = append(completions, set.GetCompletions(aerc, cmd)...)
|
||||||
}
|
}
|
||||||
completions = append(completions, cmd)
|
|
||||||
return completions
|
return completions
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue