Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add emacs-like cursor navigation to dateselect; fix lint (#187)
* Add emacs-like cursor navigation to dataselect Accept Ctrl-p and Ctrl-b as up and down. Additionally accept Ctrl-b and Ctrl-f as left and right. * Fix clippy lint for unwrap_or_default Latest nightly clippy warns: warning: use of `unwrap_or_else` to construct default value --> inquire/src/prompts/multiselect/prompt.rs:67:14 | 67 | .unwrap_or_else(BTreeSet::new); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default --------- Co-authored-by: Mikael Mello <git@mikaelmello.com>
- Loading branch information