add refresh

This commit is contained in:
Will McGugan
2025-02-16 18:56:01 +00:00
parent a7a1cdb263
commit 5da22f0f37
3 changed files with 3 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- Fixed OptionList.add_options exhausting iterator https://github.com/Textualize/textual/pull/5540
- Fixed screen not refreshing after pop https://github.com/Textualize/textual/issues/5542
## 2.0.1 - 2024-02-16

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "textual"
version = "2.0.1"
version = "2.0.2"
homepage = "https://github.com/Textualize/textual"
repository = "https://github.com/Textualize/textual"
documentation = "https://textual.textualize.io/"

View File

@@ -1333,6 +1333,7 @@ class Screen(Generic[ScreenResultType], Widget):
self._compositor_refresh()
self.app.stylesheet.update(self)
self._refresh_layout(size)
self.refresh()
def _on_screen_suspend(self) -> None:
"""Screen has suspended."""