Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.43 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.43 KB

VTUI

A basic terminal UI system for the V programing language.

Styled after bpytop.

⚠️ This is a small hobby project. Master will be updated without warning.

What about term.ui?

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.

How do I install it?

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.

How do I use vtui?

import charliemikels.vtui

// The rest of your code here...

See the example directory for the code in action.