~sircmpwn/aerc

4d00a2b4d6ef3b4bea5c06553538b4010b7c09c2 — Ben Burwell 1 year, 11 months ago 7160f98
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.
1 files changed, 0 insertions(+), 1 deletions(-)

M aerc.go
M aerc.go => aerc.go +0 -1
@@ 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
}