New
cursive-v0.15.0
Breaking changes
- Split library into a backend-agnostic
cursive-coreand a user-facingcursive. Cursive::defaultnow needs thecursive::CursiveExttrait to be in scope.- Update dependencies:
- crossterm to 0.17.
- enumset to 1.0
- ahash to 0.3
- pulldown-cmark to 0.7
- Add
PaletteColor::HighlightText AnyCbnow takes a&mut dyn Viewrather than a&mut dyn Any.
API updates
- Added
cursive::{default,ncurses,pancurses,termion,crossterm,blt,dummy}functions. - Add
Cursive::debug_name - Add
ScreensViewto move some code away from theCursiveroot- Reworked global callbacks configuration
- Ctrl-C can be rewired to no longer exit the application
- Add
SelectView::(try_)iter_mut() Dialog::{test, info}now acceptStyledStringas input- Add missing functions to Checkbox re: enabled state
Bugfixes
- Fix Ctrl-Z binding for ncurses
- Fix potential crash with empty
SelectView - Add
tomlandmarkdownfeatures to docs.rs