test paginator
This commit is contained in:
parent
54d631df67
commit
6c4de0fb58
@ -176,6 +176,7 @@ class Paginator:
|
||||
|
||||
bits = part.split(' ')
|
||||
for bit in bits:
|
||||
print(bit)
|
||||
next_len = length + len(bit) + 1
|
||||
if next_len <= self._max_line_length:
|
||||
out_str += bit + ' '
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user