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