mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-22 09:57:24 +00:00
updated to also add channel names in addition to topics
This commit is contained in:
1
main.go
1
main.go
@ -273,6 +273,7 @@ func generateTabCompletionSlice(inputWord string) []string {
|
|||||||
if s.MembersType == keybase.TEAM {
|
if s.MembersType == keybase.TEAM {
|
||||||
// its a team so add the topic name as a possible tab completion
|
// its a team so add the topic name as a possible tab completion
|
||||||
firstSlice = append(firstSlice, s.TopicName)
|
firstSlice = append(firstSlice, s.TopicName)
|
||||||
|
firstSlice = append(firstSlice, s.Name)
|
||||||
} else {
|
} else {
|
||||||
// its a user, so clean the name and append the users name as a possible tab completion
|
// its a user, so clean the name and append the users name as a possible tab completion
|
||||||
firstSlice = append(firstSlice, cleanChannelName(s.Name))
|
firstSlice = append(firstSlice, cleanChannelName(s.Name))
|
||||||
|
|||||||
Reference in New Issue
Block a user