diff --git a/write.go b/write.go index a8a8aa7..f86e0ea 100644 --- a/write.go +++ b/write.go @@ -72,6 +72,7 @@ func singleLine() wrapper { return editor(textedit.SingleLine()) } func indent(first, rest int) wrapper { return editor(textedit.Indent(timesn(" ", first), timesn(" ", rest))) } + func wrap(firstWidth, restWidth int) wrapper { return editor(textedit.Wrap(firstWidth, restWidth)) }