diff --git a/indent.go b/indent.go index 6a677de..20a081a 100644 --- a/indent.go +++ b/indent.go @@ -153,6 +153,11 @@ func wrapIndentRelease(first, rest []rune, firstWidth, restWidth int) func(wrapI state.currentLineLength+len(state.currentWord)+1+len(indent) > width { ret = append(ret, '\n') state.currentLineLength = 0 + state.multipleLines = true + } + + if state.multipleLines { + indent = rest } if state.currentLineLength == 0 {