Skip to content

Now with Rich Layout system

Choose a tag to compare

@willmcgugan willmcgugan released this 15 Feb 21:13
44f54dd

The highlight of this release is the new Layout system which can be used to produce htop like terminal dashboards.

layout_vscode 17 34 29

[9.11.0] - 2021-02-15

Fixed

  • Fixed error message for tracebacks with broken __str__ #980
  • Fixed markup edge case #987

### Added

  • Added cheeky sponsorship request to test card
  • Added quiet argument to Console constructor
  • Added support for a callback function to format timestamps (allows presentation of milliseconds)
  • Added Console.set_alt_screen and Console.screen
  • Added height to ConsoleOptions
  • Added vertical parameter to Align
  • Added Layout class

Changed

  • Pretty.overflow now defaults to None
  • Panel now respects options.height
  • Traceback lexer defaults to Python if no extension on source
  • Added ConsoleDimensions size attribute to ConsoleOptions so that size can't change mid-render