mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
update changelog
This commit is contained in:
@@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed issue where scrollbars weren't being unmounted
|
- Fixed issue where scrollbars weren't being unmounted
|
||||||
|
- Fixed fr units for horizontal and vertical layouts https://github.com/Textualize/textual/pull/1067
|
||||||
|
- Fixed `textual run` breaking sys.argv https://github.com/Textualize/textual/issues/1064
|
||||||
|
- Fixed footer not updating styles when toggling dark mode
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
@@ -25,6 +28,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- Added auto_pilot to App.run and App.run_async
|
- Added auto_pilot to App.run and App.run_async
|
||||||
- Added Widget._get_virtual_dom to get scrollbars
|
- Added Widget._get_virtual_dom to get scrollbars
|
||||||
- Added size parameter to run and run_async
|
- Added size parameter to run and run_async
|
||||||
|
- Returned an awaitable from push_screen, switch_screen, and install_screen https://github.com/Textualize/textual/pull/1061
|
||||||
|
|
||||||
|
|
||||||
## [0.2.1] - 2022-10-23
|
## [0.2.1] - 2022-10-23
|
||||||
|
|
||||||
|
|||||||
@@ -119,6 +119,10 @@ class Footer(Widget):
|
|||||||
text.append_text(key_text)
|
text.append_text(key_text)
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
def _on_styles_updated(self) -> None:
|
||||||
|
self._key_text = None
|
||||||
|
self.refresh()
|
||||||
|
|
||||||
def post_render(self, renderable):
|
def post_render(self, renderable):
|
||||||
return renderable
|
return renderable
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ def snap_compare(
|
|||||||
Args:
|
Args:
|
||||||
app_path (str): The path of the app.
|
app_path (str): The path of the app.
|
||||||
press (Iterable[str]): Key presses to run before taking screenshot. "_" is a short pause.
|
press (Iterable[str]): Key presses to run before taking screenshot. "_" is a short pause.
|
||||||
terminal_size (tuple[int, int]): A pair of integers (WIDTH, SIZE), representing terminal size.
|
terminal_size (tuple[int, int]): A pair of integers (WIDTH, HEIGHT), representing terminal size.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
bool: True if the screenshot matches the snapshot.
|
bool: True if the screenshot matches the snapshot.
|
||||||
|
|||||||
Reference in New Issue
Block a user