Commit 88903095 authored by mathieui's avatar mathieui

Fix #3339 (pure python poopt fails on multiline messages)

parent ee5e807f
......@@ -104,6 +104,7 @@ def cut_text(string: str, width: int) -> List[Tuple[int, int]]:
# This is one condition to end the line: an explicit \n is found
if wc == '\n':
spos += 1
retlist.append((start_pos, spos))
# And then initiate a new line
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment