Skip to content

Commit 5da22f0

Browse files
committed
add refresh
1 parent a7a1cdb commit 5da22f0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Fixed
1111

1212
- Fixed OptionList.add_options exhausting iterator https://github.com/Textualize/textual/pull/5540
13+
- Fixed screen not refreshing after pop https://github.com/Textualize/textual/issues/5542
1314

1415
## 2.0.1 - 2024-02-16
1516

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "textual"
3-
version = "2.0.1"
3+
version = "2.0.2"
44
homepage = "https://github.com/Textualize/textual"
55
repository = "https://github.com/Textualize/textual"
66
documentation = "https://textual.textualize.io/"

src/textual/screen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,7 @@ def _on_screen_resume(self) -> None:
13331333
self._compositor_refresh()
13341334
self.app.stylesheet.update(self)
13351335
self._refresh_layout(size)
1336+
self.refresh()
13361337

13371338
def _on_screen_suspend(self) -> None:
13381339
"""Screen has suspended."""

0 commit comments

Comments
 (0)