mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
changelog
This commit is contained in:
@@ -15,12 +15,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- `DOMNode.query_one` now raises a `TooManyMatches` exception if there is
|
- `DOMNode.query_one` now raises a `TooManyMatches` exception if there is
|
||||||
more than one matching node.
|
more than one matching node.
|
||||||
https://github.com/Textualize/textual/issues/1096
|
https://github.com/Textualize/textual/issues/1096
|
||||||
|
- `App.mount` and `Widget.mount` have new `before` and `after` parameters https://github.com/Textualize/textual/issues/778
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Added `init` param to reactive.watch
|
- Added `init` param to reactive.watch
|
||||||
- `CSS_PATH` can now be a list of CSS files https://github.com/Textualize/textual/pull/1079
|
- `CSS_PATH` can now be a list of CSS files https://github.com/Textualize/textual/pull/1079
|
||||||
- Added `DOMQuery.only_one` https://github.com/Textualize/textual/issues/1096
|
- Added `DOMQuery.only_one` https://github.com/Textualize/textual/issues/1096
|
||||||
|
- Writes to stdout are now done in a thread, for smoother animation. https://github.com/Textualize/textual/pull/1104
|
||||||
|
|
||||||
## [0.3.0] - 2022-10-31
|
## [0.3.0] - 2022-10-31
|
||||||
|
|
||||||
|
|||||||
@@ -129,6 +129,8 @@ ReturnType = TypeVar("ReturnType")
|
|||||||
|
|
||||||
|
|
||||||
class _NullFile:
|
class _NullFile:
|
||||||
|
"""A file-like where writes go nowhere."""
|
||||||
|
|
||||||
def write(self, text: str) -> None:
|
def write(self, text: str) -> None:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user