You are browsing as a guest. Sign up (or log in) to start making projects!

8h 32m 17s logged

Welp, designing how to do the TUI was kinda… complex.

I mostly know JS/TS, so I wanted to use that. And that made everything way more complex, as there aren’t so many options as you might have with something like how good Bubble Tea is on Go.

So these were the options I considered:

  • Ink: Which didn’t have mouse support and uses React, which I’ve felt kinda clunky while doing the webpage, so I wanted try something else.
  • Rezi: Which, at first, was AMAZING. But it had some bugs where focus didn’t work at all and I couldn’t interact with the TUI, or just started getting weird.
  • OpenTUI: tbf, I didn’t test it out that much, couldn’t really understand it’s TS bindings

So what I ended up going with? Something not listed above: I ended up going with Vue TermUI (for now). Why? Well, I’ve wanted to try out Vue for some time now, and it uses OpenTUI under the hood, so it’s backend is probably pretty stable, or so I think, i don’t really know.

It does handles mouse input and focus management, making it quite easy to use.

Will I stay with Vue TermUI? I don’t really know yet. I’m just beginning to try it out, and I’m curious to see how it ends up. Especially because Vue for TUI sounds pretty weird lol

I actually really liked Rezi and you should check it out, as the issues I had were probably because I was doing something wrong hahah

0
26

Comments 0

No comments yet. Be the first!