gocliselect
gocliselect copied to clipboard
Malfunction when menu created with 0 or 1 item/s.
When only one item is added to the menu the calculation of the cursor position isnt true anymore. Thus the rendering does not work as espected. Suggesting adding a #items > 1 check. When no element is added to the menu menu.Display() throws an error.