v8.2.7

d2lang/d2v8.2.7May 19, 2026by willmcgugan

AI Summary

Enhanced support for the Kitty terminal protocol, enabling additional key bindings and modifier key detection in the Textual application.

Key Highlights

  • Added support for Kitty key protocol Report all keys as escape codes
  • Modifier keys are now reported as separate key events
  • New shortcuts added to TextArea (cmd+ navigation, alt+delete)

New Features

  • Kitty key protocol support for alt+backspace on Warp
  • Modifier key detection support for Kitty terminals
  • TEXTUAL_DISABLE_KITTY_KEY environment variable
  • cmd+ shortcuts for undo/redo/copy/cut/paste
  • ctrl+u deletes newline if cursor is at start
  • alt+delete binds to delete word right

Full Release Notes

This release adds additional support for the Kitty key protocol. Which enables some additional keys on some terminals. Additionally, Textual will report modifier keys as separate key events. 

Additionally there are a few more shortcuts to the Text Area.

This release sponsored by Mistral AI. See release notes for detail.

## [8.2.7] - 2026-05-19 

### Added

- Added support for Kitty key protocol "Report all keys as escape codes" which enabled alt+backspace on Warp https://github.com/Textualize/textual/pull/6544
- Added support for detecting separate modifier keys for terminals that support the Kitty key protocol https://github.com/Textualize/textual/pull/6544
- Added `TEXTUAL_DISABLE_KITTY_KEY` env var to disable Kitty key protocol support (debug aid). https://github.com/Textualize/textual/pull/6544

### Changed

- Undo/redo/copy/cut/paste in TextArea will now work with cmd+ on supported terminals https://github.com/Textualize/textual/pull/6543
- In TextArea, ctrl+u will now delete a newline if the cursor is at the start https://github.com/Textualize/textual/pull/6543
- in TextArea alt+delete is now bound to delete word right https://github.com/Textualize/textual/pull/6543
- Text opacity applied to an ansi theme will now set the dim attribute if the opacity is < 50% https://github.com/Textualize/textual/pull/6546