cjkwrap icon indicating copy to clipboard operation
cjkwrap copied to clipboard

`cjkwrap.fill` not working unless keyword argument `break_long_words` is True

Open kkew3 opened this issue 2 years ago • 0 comments

For example,

print(cjkwrap.fill(u"最終的に良いラッピング", 10, break_long_words=False))

gives

最終的に良いラッピング

Since CJK characters can be broken at every character boundary, break_long_words=False shouldn't, as far as I'm concerned, prevent wrapping from happening.

Thank you so much!

kkew3 avatar Apr 01 '22 09:04 kkew3