Skip to content

Commit d69f0d6

Browse files
authored
Merge pull request #5543 from Textualize/fix-screen-refresh
add refresh
2 parents a7a1cdb + 173e6d6 commit d69f0d6

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## 2.0.2
8+
## 2.0.2 - 2025-02-16
99

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/pull/5543
1314

14-
## 2.0.1 - 2024-02-16
15+
## 2.0.1 - 2025-02-16
1516

1617
### Fixed
1718

@@ -2728,6 +2729,9 @@ https://textual.textualize.io/blog/2022/11/08/version-040/#version-040
27282729
- New handler system for messages that doesn't require inheritance
27292730
- Improved traceback handling
27302731

2732+
[2.0.2]: https://github.com/Textualize/textual/compare/v2.0.1...v2.0.2
2733+
[2.0.1]: https://github.com/Textualize/textual/compare/v2.0.0...v2.0.1
2734+
[2.0.0]: https://github.com/Textualize/textual/compare/v1.0.0...v2.0.0
27312735
[1.0.0]: https://github.com/Textualize/textual/compare/v0.89.1...v1.0.0
27322736
[0.89.1]: https://github.com/Textualize/textual/compare/v0.89.0...v0.89.1
27332737
[0.89.0]: https://github.com/Textualize/textual/compare/v0.88.1...v0.89.0

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)