mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 11:13:24 +00:00
fix(readline): dont show completions menu if there is only 1 entry (closes #107)
This commit is contained in:
parent
91222f9d74
commit
ae449b89eb
@ -163,7 +163,7 @@ func (rl *Instance) getNormalCompletion() {
|
||||
// escape the completion mode from here directly.
|
||||
var items bool
|
||||
for _, group := range rl.tcGroups {
|
||||
if len(group.Suggestions) > 0 {
|
||||
if len(group.Suggestions) > 1 {
|
||||
items = true
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user