Add automatic wrapping of the content based on terminal width

This commit is contained in:
2025-11-29 01:59:23 +00:00
parent 1b832e2fcf
commit 9598444d56
6 changed files with 149 additions and 23 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ func (g *GroupPicker) selectView() string {
}
sb.WriteString("\n\n")
sb.WriteString(helpDescStyle.Render("↑↓ navigate • n new • r rename • d delete • Esc back"))
sb.WriteString(WrapHelpText("↑↓ navigate • n new • r rename • d delete • Esc back", g.width-6))
return dialogStyle.Render(sb.String())
}