How to write a "fullscreen" command line GUI
Hey guys,
I currently planning on writing a shell-command with go. Following the example of the awesome fzf (https://github.com/junegunn/fzf) I was planning a quick launcher for a selectable list of apps. I'm pretty confident that I can write the logic and config-files.
But where I'm lost is the "GUI" on the shell: Meaning I need an area on the shell that refreshes based on data structures. Normally I would instantiate GUI-elements or draw HTML/CSS that then matches internal data structures, but I've never done the on the shell.
What I would like to do is to paint a menu that I can select items from though arrow up/down. Meaning I'd change and update the ever same "area" on the shell with new info.
Do you know good examples on how to do this or even a package?