Commit Graph

17 Commits

Author SHA1 Message Date
Alexandre Bury
e2f5806deb Add public re-exports of crates used in public api 2021-02-09 09:54:15 -08:00
Alexandre Bury
6543287704 Add enabled state to menu items 2021-02-05 13:05:14 -08:00
Alexandre Bury
71a600cb9b Update dependencies 2021-01-08 11:56:22 -08:00
Alexandre Bury
8003fc1773 Re-organize imports 2020-12-05 23:45:29 -08:00
Alexandre Bury
0a66978d7f Move event handling outside of scroll::Core 2020-12-05 23:05:47 -08:00
Alexandre Bury
31b8e1f515 Reformat & fix clippy 2020-12-01 12:23:29 -08:00
Tianyi Shi
c7c5f7955f
add new example: stopwatch (#503)
Co-authored-by: Mckol <mckol363@gmail.com>
2020-10-08 19:41:57 -07:00
Tianyi Shi
3ab4f9b0f7
new example: autocomplete search box (#502)
new example: autocomplete search box
2020-09-21 21:31:19 -07:00
Mckol
7b579a7d54
Improved the select example. (#501)
Now the `OnEventView.on_pre_event_inner()` calls return
`Some(EventResult::Consumed(Some(Callback)))` instead of
`Some(EventResult::Consumed(None))`.
This follows the guidelines from documentation of methods returning a
`Callback`, which say that it should be ran on the `Cursive`.
While in this example this doesn't make a difference, the previous
version created confusion for new users who might not realize you can
pass the `Callback`s to the `Cursive` this way.
2020-09-21 14:16:16 -07:00
Alexandre Bury
9e804fd105 Add pause example 2020-08-05 17:19:37 -07:00
Alexandre Bury
2cd6d7a80c Make backends pausable 2020-08-04 23:24:11 -07:00
Alexandre Bury
56008db796 Enable multi-rows views in ListView 2020-07-07 00:11:52 -07:00
Alexandre Bury
f2b1fac679 Fix bad initial focus 2020-07-02 23:59:55 -07:00
Alexandre Bury
bd6386fd74 Add FixedLayout 2020-07-02 23:59:55 -07:00
Alexandre Bury
d9161f12fc Fix select_test example 2020-05-26 11:26:39 -07:00
mara
fc5060a8e0
Fix the theme example (#452)
- Remove the inline feature detection, it doesn't work for features of
  dependencies. Instead use `required-features` in `Cargo.toml` for the
  specific binary.

- The asset moved one level up relatively to `../../assets/style.toml`
2020-05-08 11:44:18 -07:00
Alexandre Bury
b7764541e5 Move examples to its own member 2020-04-23 17:17:30 -07:00