A simple go lib based on
github.com/gdamore/tcell/v2
,which helps you build a simple menu UI in your terminal.
go get -u github.com/sshelll/menuscreen
demo is see ./test/xx.go
.
when the screen started, you can press /
to search and press enter
to confirm,
or you can press :
to enter your customized content instead of choosing one.