v6.6.0

Textualize/textualv6.6.0Nov 10, 2025by willmcgugan

AI Summary

Addresses UI rendering issues in text areas and scrollbars, while adding new widget interaction methods.

Key Highlights

  • Fixed `TextArea` cursor display on wrapped lines.
  • Fixed scrollbar not updating after textarea paste.
  • Added `Widget.FOCUS_ON_CLICK` classvar and method.
  • Added support for the kitty keyboard protocol on Windows.

New Features

  • `Widget.FOCUS_ON_CLICK`
  • `Widget.mount_compose`
  • `grid_size` property (GridLayout)
  • `NoSelection` and `BLANK` exposure
  • Kitty keyboard protocol support on Windows

Full Release Notes

A few minor updates and fixes.

Also a style change for the checkbox widget. Expect snapshot test files if you have used checkboxes.

Thanks to the contributors!

## [6.6.0] - 2025-11-10

### Fixed

- Fixed `TextArea` cursor display on wrapped lines https://github.com/Textualize/textual/pull/6196
- Fixed `remove_children` not refreshing layout https://github.com/Textualize/textual/pull/6206
- Fixed flicker with :hover pseudo class https://github.com/Textualize/textual/pull/6214
- Fixed scrollbar not updating after textarea paste https://github.com/Textualize/textual/pull/6219

### Added

- Added `grid_size` property to `GridLayout` https://github.com/Textualize/textual/pull/6210
- Exposed `NoSelection` and `BLANK` via `textual.widgets.select` https://github.com/Textualize/textual/pull/6214
- Added `Widget.FOCUS_ON_CLICK` classvar amd `Widget.focus_on_click` method https://github.com/Textualize/textual/pull/6216
- Added support for the kitty keyboard protocol on Windows https://github.com/Textualize/textual/pull/6207
- Added `Widget.mount_compose` https://github.com/Textualize/textual/pull/6216

### Changed

- Change highlight style of Select to only highlight the border, not the label https://github.com/Textualize/textual/pull/6214