Don't break text in when rendering print_msg

This commit is contained in:
ines 2017-03-16 17:09:50 +01:00
parent 16a63d9676
commit 7f920c2f75

View File

@ -173,7 +173,8 @@ def _wrap_text(text):
indent = ' '
wrap_width = wrap_max - len(indent)
return textwrap.fill(text, width=wrap_width, initial_indent=indent,
subsequent_indent=indent)
subsequent_indent=indent, break_long_words=False,
break_on_hyphens=False)
def sys_exit(*messages, **kwargs):