diff --git a/server/command.go b/server/command.go index 443f822..3c85a8c 100644 --- a/server/command.go +++ b/server/command.go @@ -149,11 +149,9 @@ func (p *Plugin) listPersonas() string { b.WriteString("Available personas:\n\n```\n") for _, id := range ids { desc := personaLibrary[id] - // Only show the first line — the full prompts are multi-line now. - if idx := strings.Index(desc, "\n"); idx > 0 { - desc = desc[:idx] - } - b.WriteString(fmt.Sprintf(" %-12s %s\n", id, desc)) + // Indent continuation lines so multi-line descriptions stay readable. + indented := strings.ReplaceAll(desc, "\n", "\n "+strings.Repeat(" ", 14)) + b.WriteString(fmt.Sprintf(" %-12s %s\n", id, indented)) } b.WriteString("```\nUse /ai persona to switch.") return b.String()