wmenu icon indicating copy to clipboard operation
wmenu copied to clipboard

How to wrap func (ui *BasicUI) Ask(message, trim string) (string, error)

Open abakum opened this issue 1 year ago • 0 comments

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)

?

abakum avatar Jan 22 '24 13:01 abakum