changelog

This commit is contained in:
Will McGugan
2022-11-05 13:17:46 +00:00
parent d465d933fd
commit de9a150484
2 changed files with 4 additions and 0 deletions

View File

@@ -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

View File

@@ -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