AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.07k stars 349 forks source link

multiple selection,get the key from the console by default #478

Open wangzhiy opened 1 year ago

wangzhiy commented 1 year ago

When multiple selection,After running and before the selection appears。

i guess this code has a problem of window rv, _, e := readConsoleInput.Call(rr.stdio.In.Fd(), uintptr(unsafe.Pointer(ir)), 1, uintptr(unsafe.Pointer(&bytesRead)))