This commit is contained in:
Will McGugan
2022-06-21 10:17:31 +01:00
parent 069fde528e
commit 3857fa6887
2 changed files with 1 additions and 1 deletions

View File

@@ -362,6 +362,7 @@ class DOMNode(MessagePump):
@property
def rich_style(self) -> Style:
"""Get a Rich Style object for this Widget."""
(_, _), (background, color) = self.colors
style = Style.from_color(color.rich_color, background.rich_color)
style += self.text_style

View File

@@ -87,7 +87,6 @@ class LinuxDriver(Driver):
width, height = terminal_size
textual_size = Size(width, height)
event = events.Resize(self._target, textual_size, textual_size)
# self.console.size = terminal_size
asyncio.run_coroutine_threadsafe(
self._target.post_message(event),
loop=loop,