jtdaugherty / word-wrap

A Haskell library for wrapping long lines of text
BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

Setting to break words longer than target width #3

Closed callum-oakley closed 7 years ago

callum-oakley commented 7 years ago

In some situations, the target width is a hard limit that shouldn't be exceeded, even if a single word is longer than that limit, so the word should be broken up. (happens with long URLs in markdown files for example). Of course sometimes the current behaviour is the desired behaviour, so this seems like a good candidate for another setting in WrapSettings

jtdaugherty commented 7 years ago

Released in 0.3.