wmenu
wmenu copied to clipboard
How to wrap func (ui *BasicUI) Ask(message, trim string) (string, error)
Please tell how to wrap in wmenu
func (ui *BasicUI) Ask(message, trim string) (string, error)
to use
keyboard.GetKey()
of "github.com/eiannone/keyboard" instead of
reader.ReadString('\n')
of
reader := bufio.NewReader(ui.Reader)
?