commit 89ba4ff

Hubert Hirtz  ·  2025-09-21 19:49:05 +0000 UTC
parent b209af1
Set the Display attribute for /msg completions

This avoids the spaces after the nicks, like what
completionsChannelMembers does.
1 files changed,  +1, -0
+1, -0
1@@ -171,6 +171,7 @@ func (app *App) completionsMsg(cs []ui.Completion, cursorIdx int, text []rune) [
2 				StartIdx:  5,
3 				EndIdx:    cursorIdx,
4 				Text:      c,
5+				Display:   []rune(user),
6 				CursorIdx: 5 + len(nickComp),
7 			})
8 		}