~sircmpwn/aerc

a441e3b3a55d11e7cc9444298051ff339d1b7519 — Jeffas 2 years ago e28f45b
Add initial command to end of completions

This means that if the user cycles through all completions then they
will see the initial string they entered.
1 files changed, 1 insertions(+), 0 deletions(-)

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