Skip to content

Commit

Permalink
redo changelog entry due to 0.8.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshKarpel committed Dec 22, 2022
1 parent aba640f commit 9cdeabe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

Expand Down
4 changes: 2 additions & 2 deletions src/textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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,
Expand Down

0 comments on commit 9cdeabe

Please sign in to comment.