(the name is WIP and a joke, I don't really think its "better")
I made this library from "scratch" by looking at the OpenTUI codebase and trying to understand it.
"better-opentui" is an experimental reimplementation of OpenTUI, a toolkit for building terminal user interfaces with Effect-TS (website), Effect-TS (github) and Zig.
THERE WILL BE A LOT OF BREAKING CHANGES, SINCE THIS IS A WORK IN PROGRESS.
To install dependencies:
bun installThis also checks if you have zig installed and if not, it will install it for you, and build the zig project under this directory.
bun run examples/styled-text.tsbun run examples/multi-select.tsbun run examples/file-select.tsA big thanks to @sst, @kommander and every contributor for their work on OpenTUI and making it available as MIT licensed code for everyone to use.
(I copy pasted the MIT License from the OpenTUI repository, I hope that's fine)