gocliselect
gocliselect copied to clipboard
Lightweight menu selection library for CLI choices
..\..\..\..\..\go\pkg\mod\github.com\pkg\[email protected]\term_windows.go:73:8: undefined: attr ..\..\..\..\..\go\pkg\mod\github.com\pkg\[email protected]\term_windows.go:74:12: undefined: termios ..\..\..\..\..\go\pkg\mod\github.com\pkg\[email protected]\term_windows.go:74:40: t.fd undefined (type *Term has no field or method fd) ..\..\..\..\..\go\pkg\mod\github.com\pkg\[email protected]\term_windows.go:74:47: undefined: syscall # github.com/buger/goterm ..\..\..\..\..\go\pkg\mod\github.com\buger\[email protected]\terminal.go:212:26: undefined: unix.EOPNOTSUPP
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...
- fixed NPE on switch/selection in empty lists - fixed render glitch on the single item list - added new non-selectable item type "Hint" (actually this is why I forked...
Added divider Removed the indexes from the options, they were confusing as they did nothing when pressing the number on the keyboard. Instead added a new method to add an...