Avoid empty line when word is longer than line width
Avoid empty line when word is longer than line width

Before we would naively finish the current line when encountering a
word that doesn't fit. We now only do this if the line actually has
content, which avoids extra empty lines when dealing with long words
and a narrow line width.

mgeisler/textwrap