mirror of
https://github.com/Textualize/rich.git
synced 2025-08-19 18:00:30 +00:00
broken code
This commit is contained in:
parent
a46f8352df
commit
29e653c089
1 changed files with 0 additions and 6 deletions
|
@ -107,12 +107,6 @@ class Segment(NamedTuple):
|
|||
_Segment(text[cut:], style, control),
|
||||
)
|
||||
|
||||
if len(text) == self.cell_length:
|
||||
return (
|
||||
_Segment(text[:cut], style, control),
|
||||
_Segment(text[cut:], style, control),
|
||||
)
|
||||
|
||||
cell_size = get_character_cell_size
|
||||
|
||||
pos = int((cut / segment.cell_length) * len(text))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue