Skip to content

v0.8.0 with textual keys

Compare
Choose a tag to compare
@willmcgugan willmcgugan released this 22 Dec 13:09
· 6842 commits to main since this release
f29da41

Version 0.8.0 adds a new textual keys command which you can use to preview key events.

There are a few minor breaking changes in this release. See below for details.

Screenshot 2022-12-22 at 13 08 11

[0.8.0] - 2022-12-22

Fixed

  • Fixed issues with nested auto dimensions #1402
  • Fixed watch method incorrectly running on first set when value hasn't changed and init=False #1367
  • App.dark can now be set from App.on_load without an error being raised #1369
  • Fixed setting visibility changes needing a refresh #1355

Added

  • Added textual.actions.SkipAction exception which can be raised from an action to allow parents to process bindings.
  • 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.

Changed

  • Deprecated PRIORITY_BINDINGS class variable.
  • Renamed char to character on Key event.
  • Renamed key_name to name on Key event.
  • Queries/walk_children no longer includes self in results by default #1416