github gyscos/cursive 0.5.0

latest releases: cursive_core-v0.3.7, cursive_core-v0.3.6, cursive-v0.20.0...
7 years ago
  • Refactored view indexing:
    • Cursive::find_id now returns a ViewRef, which provides DerefMut but isn't tied to the lifetime of the Cursive 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 to EditView
  • event::Event::Unknown now carries the unknown bytes rather than an integer.
  • event::Event is therefore no longer Copy
  • Add Cursive::focus_id to move the focus to the target view.
  • Bugfixes

Don't miss a new cursive release

NewReleases is sending notifications on new releases.