Merge pull request #348 from alexmozzhakov/patch-1

Re-include caplets in autocomplete
This commit is contained in:
evilsocket 2018-09-26 14:34:34 +02:00 committed by GitHub
commit 864d00f7d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,10 @@ func (s *Session) setupReadline() (err error) {
}
}
}
for _, caplet := range caplets.List() {
tree[caplet.Name] = []string{}
}
for root, subElems := range tree {
item := readline.PcItem(root)