cursive-multiple-choice-view 0.1.0

Multiple choice view for Cursive
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Cursive Mutliple Choice View

This is a multiple choice view inspired by menuconfig with customizable indicators. The view is largely based on cursive's [`SelectView`](https://github.com/gyscos/cursive/blob/616d8d6f886418c9f06762a0acc4c3ad05864f6d/cursive-core/src/views/select_view.rs).

![minimal_example](doc/minimal_example.png)

## Usage
For examples of how to use this view see `examples` folder.

Indicators can be customized with `set_choice_indicators()` (or `with_choice_indicators()`).
```rs
let multiple_choice_view = MultipleChoiceView::new()
	.with_choice_indicators(["☐", "☒"]
	...
);
```