README ¶ Checkbox The checkbox component allows you to quicky prompt the user to choose multiple options. Move with the arrow keys or JK, select an option with SPACE. You can found an example with and without options here Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Checkbox(options []string, customOpts ...wtopts.Opts) (checked []bool, err error) func Draw(selected *int, options *[]string, checked *[]bool, opts wtopts.Opts) []string func HandleKey(selected *int, checked *[]bool, key string, opts wtopts.Opts) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Checkbox ¶ func Checkbox(options []string, customOpts ...wtopts.Opts) (checked []bool, err error) func Draw ¶ func Draw(selected *int, options *[]string, checked *[]bool, opts wtopts.Opts) []string func HandleKey ¶ func HandleKey(selected *int, checked *[]bool, key string, opts wtopts.Opts) error Types ¶ This section is empty. Source Files ¶ View all Source files checkbox.go Directories ¶ Show internal Expand all Path Synopsis example Click to show internal directories. Click to hide internal directories.