fix: align persona list continuation indent with first-line description position

This commit is contained in:
2026-06-17 00:21:41 +02:00
parent 6b68b13039
commit 07fe9156ad
+1 -1
View File
@@ -150,7 +150,7 @@ func (p *Plugin) listPersonas() string {
for _, id := range ids {
desc := personaLibrary[id]
// Indent continuation lines so multi-line descriptions stay readable.
indented := strings.ReplaceAll(desc, "\n", "\n "+strings.Repeat(" ", 14))
indented := strings.ReplaceAll(desc, "\n", "\n "+strings.Repeat(" ", 13))
b.WriteString(fmt.Sprintf(" %-12s %s\n", id, indented))
}
b.WriteString("```\nUse /ai persona <name> to switch.")