github gyscos/cursive 0.5.0

latest releases: cursive-core-v0.4.6, cursive-core-v0.4.5, cursive-core-v0.4.4...
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.