Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed May 3, 2022
1 parent 7dd4b96 commit 8d8532d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Change SVG export to create a simpler SVG
- Fix render_lines crash when render height was negative https://github.com/Textualize/rich/pull/2246

## [12.3.0] - 2022-04-26

Expand Down
8 changes: 0 additions & 8 deletions rich/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -2542,11 +2542,3 @@ def _svg_hash(svg_main_code: str) -> str:
},
}
)
from rich.console import Console
from rich.padding import Padding

console = Console()
options = console.options.update_height(1)

padding = Padding("hello", pad=(1, 1, 1, 1))
console.render_lines(padding, options=options)

0 comments on commit 8d8532d

Please sign in to comment.