From 0e835a478cba36485cfe8eba635cb0a57bb8e555 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Wed, 1 Jan 2025 17:05:58 +0000 Subject: [PATCH] typing --- src/textual/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/content.py b/src/textual/content.py index 9b65ccb5f3..8f36830509 100644 --- a/src/textual/content.py +++ b/src/textual/content.py @@ -1064,7 +1064,7 @@ def to_strip(self, style: Style) -> Strip: strip = Strip(segments, width) return strip - segments: list[Segment] = ( + segments = ( [Segment(" " * pad_left, style.background_style.rich_style)] if pad_left else []