We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82b4944 commit 5f8cbcdCopy full SHA for 5f8cbcd
src/textual/widgets/_text_area.py
@@ -1309,7 +1309,8 @@ def render_line(self, y: int) -> Strip:
1309
target_width = base_width - self.gutter_width
1310
1311
# Crop the line to show only the visible part (some may be scrolled out of view)
1312
- text_strip = Strip(line.render(self.app.console), cell_length=line.cell_len)
+ console = self.app.console
1313
+ text_strip = Strip(console.render(line), cell_length=line.cell_len)
1314
if not self.soft_wrap:
1315
text_strip = text_strip.crop(scroll_x, scroll_x + virtual_width)
1316
0 commit comments