fix: align persona list continuation indent with first-line description position
This commit is contained in:
+1
-1
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user