mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 12:27:59 +01:00
never wrap less than 8
This commit is contained in:
parent
52fe45889a
commit
6088f79369
1 changed files with 2 additions and 0 deletions
2
ponysay
2
ponysay
|
@ -958,6 +958,8 @@ class Backend():
|
|||
wrap = None
|
||||
if self.wrapcolumn is not None:
|
||||
wrap = self.wrapcolumn - left
|
||||
if wrap < 8:
|
||||
wrap = 8
|
||||
|
||||
msg = self.message
|
||||
if wrap is not None:
|
||||
|
|
Loading…
Reference in a new issue