Fast TUI prototyping
Quick usage overview:
>>> from targetbox import Menu
>>> content = range(100)
>>> menu = Menu(content)
That's a good question. targetbox takes inspiration from other projects like Choose, Pick and Selecta. However these tools only let you choose a option and do one thing with it.
targetbox is a new alternative that is more extensible! You can: Set your own keybindings that act on the selected text, Change the colorscheme to your own liking and a lot more.
>>> from targetbox import Menu
>>> content = range(100)
>>> menu = Menu(content=content,
keybindings=keybindings
colorscheme=colorscheme)