Skip to content

Commit 916c48e

Browse files
committed
fix for overflowing tree
1 parent c3e4dfe commit 916c48e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/textual/widgets/_tree.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,7 @@ def get_guides(style: Style) -> tuple[str, str, str, str]:
788788
self._line_cache[cache_key] = segments
789789

790790
segments = line_crop(segments, x1, x2, width)
791+
segments = Segment.adjust_line_length(segments, width)
791792

792793
return segments
793794

0 commit comments

Comments
 (0)