diff options
author | Jeffas <dev@jeffas.io> | 2019-09-05 13:11:52 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-11 11:26:27 -0400 |
commit | a441e3b3a55d11e7cc9444298051ff339d1b7519 (patch) | |
tree | 5ad61317236d97ec2a59326c3ed629f64861dc12 /aerc.go | |
parent | e28f45b5aa923ade342835cf9ab1ba2e981bc061 (diff) | |
download | aerc-a441e3b3a55d11e7cc9444298051ff339d1b7519.tar.gz |
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.
Diffstat (limited to 'aerc.go')
-rw-r--r-- | aerc.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 } |