Update write.go
This commit is contained in:
parent
68aeb12ecd
commit
78d3e0e284
1
write.go
1
write.go
@ -72,6 +72,7 @@ func singleLine() wrapper { return editor(textedit.SingleLine()) }
|
|||||||
func indent(first, rest int) wrapper {
|
func indent(first, rest int) wrapper {
|
||||||
return editor(textedit.Indent(timesn(" ", first), timesn(" ", rest)))
|
return editor(textedit.Indent(timesn(" ", first), timesn(" ", rest)))
|
||||||
}
|
}
|
||||||
|
|
||||||
func wrap(firstWidth, restWidth int) wrapper {
|
func wrap(firstWidth, restWidth int) wrapper {
|
||||||
return editor(textedit.Wrap(firstWidth, restWidth))
|
return editor(textedit.Wrap(firstWidth, restWidth))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user