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