Releases: gyscos/cursive
Releases · gyscos/cursive
0.7.0
- Adds mouse support (except
pancurses
backend for now) - Adds a
ViewWrapper
implementation (and therefore an automaticView
implementation) for any type that implementsDerefMut<Target: View>
- this meansView
is automatically implemented for&mut View
,Box<View>
... - Adds
Canvas::wrap(View)
: this allow to wrap a view and easily override some of its methods. - Fixes some modifiers detection in ncurses backend
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
- Breaking change: Rename KeyEventView to OnEventView
- Fix possible panic when using
Cursive::find_id
(#114). - Add
ColorStyle::Custom
to allow use of colors outside of palette. - Add
Button::set_callback
- Add methods to access ListView's children
- Fix locale issue with ncurses
- Enable multiple successive calls to
Cursive::run
(for multiple event loop segments)
0.5.1
0.5.0
- Refactored view indexing:
Cursive::find_id
now returns aViewRef
, which providesDerefMut
but isn't tied to the lifetime of theCursive
root, allowing more natural access.- Added
Cursive::call_on_id
which takes a closure to run on the target view.
- Add mutable
on_edit
callback toEditView
event::Event::Unknown
now carries the unknown bytes rather than an integer.event::Event
is therefore no longerCopy
- Add
Cursive::focus_id
to move the focus to the target view. - Bugfixes
0.4.1
0.4.0
- Add
Canvas
view - Made
TextView
easier to use when appending content- Added
TextView::append_content()
- Added
ScrollStrategy
to control scroll behavior on content change.
- Added
- Made
Menubar
easier to use with dynamic content- Added methods to clear and edit menu trees
- Add "real" fullscreen views to
StackView
- Rename
View::get_min_size
->View::required_size
- Fix off-by-1 error in termion backend