v1.0.0
Textualize/textualv1.0.0Dec 12, 2024by willmcgugan
AI Summary
The first stable release milestone, adding clipboard support, standard key bindings, and text selection capabilities.
Key Highlights
- Added `App.clipboard`
- Standard cut/copy/paste bindings (ctrl+x, ctrl+c, ctrl+v)
- Text selection in Input widget
- Changed default quit key to `ctrl+q`
Breaking Changes
- Changed default quit key to `ctrl+q`
New Features
- `App.clipboard`
- Standard cut/copy/paste bindings
- Support for double/triple clicks via `chain` attribute on `Click` events
- `times` parameter to `Pilot.click` method
- Text can now be selected using mouse or keyboard in the `Input` widget
Full Release Notes
If you have been following along, this is a relatively modest release. Fixes and some small features. However, as a 1.0.0 release this is a big milestone for us at Textualize! A big thank you to @darrenburns @davep @rodrigogiraoserrao and the many community contributors for this release! Note that 1.0.0 doesn't mean that we are done. Far from it! Watch this space. See the accompanying [blog post](https://textual.textualize.io/blog/) for this release... ## [1.0.0] - 2024-12-12 ### Added - Added `App.clipboard` https://github.com/Textualize/textual/pull/5352 - Added standard cut/copy/paste (ctrl+x, ctrl+c, ctrl+v) bindings to Input / TextArea https://github.com/Textualize/textual/pull/5352 & https://github.com/Textualize/textual/pull/5374 - Added `system` boolean to Binding, which hides the binding from the help panel https://github.com/Textualize/textual/pull/5352 - Added support for double/triple/etc clicks via `chain` attribute on `Click` events https://github.com/Textualize/textual/pull/5369 - Added `times` parameter to `Pilot.click` method, for simulating rapid clicks https://github.com/Textualize/textual/pull/5369 - Text can now be select using mouse or keyboard in the `Input` widget https://github.com/Textualize/textual/pull/5340 ### Changed - Breaking change: Change default quit key to `ctrl+q` https://github.com/Textualize/textual/pull/5352 - The command palette will now select the top item automatically https://github.com/Textualize/textual/pull/5361 - `ctrl+shift+k` now deletes the current line in `TextArea`, and `ctrl+x` will cut the selection if there is one, otherwise it will cut the current line https://github.com/Textualize/textual/pull/5374 - Implemented a better matching algorithm for the command palette https://github.com/Textualize/textual/pull/5365 ### Fixed - Fixed issue with alignment in auto containers https://github.com/Textualize/textual/pull/5360