A basic terminal UI system for the V programing language.
Styled after bpytop.
Oh yeah. So after I had already started this project, I found out that the built-in term
module already included some tools for making interactive UIs in a terminal. It's very impressive, but it's not quite what I was looking for, so I'm still working on my version. That said, term.ui is way more complete and usable then my solution. If you want to check it out, you can find its docs here.
Theoretically, these commands should automatically install and update this module
v install charliemikels.vtui
or
vpkg get github.com/charliemikels/vtui
and then it should be installed to your global V modules directory. You can then update it with.
v update
If you want to do it manually, just clone this repo to ~/.vmodules/charliemikels/vtui
(or wherever your V modules are stored) and you should have the same experience.
import charliemikels.vtui
// The rest of your code here...
See the example directory for the code in action.