This commit is contained in:
2025-06-19 06:07:07 -05:00
parent 74dd092a99
commit 5988d048c1
14 changed files with 391 additions and 42 deletions

View File

@@ -157,3 +157,7 @@ func Longest(of []string) int {
}
return ret
}
func WrapStringToSlice(s string, width int) []string {
return strings.Split(WrapText(s, width), "\n")
}