- 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