Struct dialoguer::Checkboxes [] [src]

pub struct Checkboxes { /* fields omitted */ }

Renders a multi select checkbox menu.

Methods

impl Checkboxes
[src]

Creates the prompt with a specific text.

Sets the clear behavior of the checkbox menu.

The default is to clear the checkbox menu.

Add a single item to the selector.

Adds multiple items to the selector.

Enables user interaction and returns the result.

The user can select the items with the space bar and on enter the selected items will be returned.

Like interact but allows a specific terminal to be set.