sttk / linebreak

A library for breaking a given text into lines within a specified width.
MIT License
0 stars 0 forks source link

Character count is used for Indent width #19

Closed sttk closed 2 months ago

sttk commented 2 months ago

At this position. https://github.com/sttk/linebreak/blob/9eb2c00d3f75715c096c31481040c07f5fac14ac/line-iter.go#L82

It is correct to use TextWidth(self.indent) instead.