diff --git a/CHANGELOG.md b/CHANGELOG.md index 267db890b1b..efecd45bcf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.8.1] - Unreleased + +### Added + +- Added an option to clear columns in DataTable.clear() https://github.com/Textualize/textual/pull/1427 ## [0.8.0] - 2022-12-22 @@ -21,7 +26,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Added `textual keys` preview. - Added ability to bind to a character in addition to key name. i.e. you can bind to "." or "full_stop". - Added TextLog.shrink attribute to allow renderable to reduce in size to fit width. -- Added an option to clear columns in DataTable.clear() https://github.com/Textualize/textual/pull/1427 ### Changed diff --git a/src/textual/app.py b/src/textual/app.py index b207bbd0259..e5daf4d669f 100644 --- a/src/textual/app.py +++ b/src/textual/app.py @@ -617,7 +617,7 @@ def action_screenshot(self, filename: str | None = None, path: str = "./") -> No """ self.save_screenshot(filename, path) - def export_screenshot(self, *, title: str | None = None) -> str: + def export_screenshot(self, *, title: str | None = None, **kwargs) -> str: """Export an SVG screenshot of the current screen. Args: @@ -638,7 +638,7 @@ def export_screenshot(self, *, title: str | None = None) -> str: ) screen_render = self.screen._compositor.render(full=True) console.print(screen_render) - return console.export_svg(title=title or self.title) + return console.export_svg(title=title or self.title, **kwargs) def save_screenshot( self,