From a441e3b3a55d11e7cc9444298051ff339d1b7519 Mon Sep 17 00:00:00 2001 From: Jeffas Date: Thu, 5 Sep 2019 13:11:52 +0100 Subject: 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. --- aerc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/aerc.go b/aerc.go index 5ba9fab..1a32126 100644 --- a/aerc.go +++ b/aerc.go @@ -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 } -- cgit 1.4.1-2-gfad0 e7b60db'/> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/000organization.cc
blob: 61c60b63ffc250844a5021dad417221c90beb8cf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13