README ¶ Input The input component allows you to prompt the user to type a string. You can found an example with and without options here Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Draw(prompt *string, userInput *string, placeholder *string, opts wtopts.Opts) string func HandleKey(userInput *string, key string, opts wtopts.Opts) error func Input(prompt, placeholder string, customOpts ...wtopts.Opts) (userInput string, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Draw ¶ func Draw(prompt *string, userInput *string, placeholder *string, opts wtopts.Opts) string func HandleKey ¶ func HandleKey(userInput *string, key string, opts wtopts.Opts) error func Input ¶ func Input(prompt, placeholder string, customOpts ...wtopts.Opts) (userInput string, err error) Types ¶ This section is empty. Source Files ¶ View all Source files input.go Directories ¶ Show internal Expand all Path Synopsis example Click to show internal directories. Click to hide internal directories.