Skip to content

Commit

Permalink
experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jul 4, 2021
1 parent 1201d61 commit 785fa72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rich/segment.py
Expand Up @@ -517,7 +517,9 @@ def divide(
add_segment(before)
yield split_segments[:]
del split_segments[:]
pos += before.cell_length
pos = cut
if not segment:
break
try:
cut = next(iter_cuts)
except StopIteration:
Expand Down

0 comments on commit 785fa72

Please sign in to comment.