My Terminal Manipulation LIbrary

Termy

Termy is a cross-platform terminal manipulation library written in Zig!

This library isn’t really a TUI framework (although it certainly can be used to build TUIs!) but rather a low-level cross-platform API for interacting with the terminal.
Termy has no third-party dependencies.

One of my main reasons for creating this project was that I wanted something that could use VT sequences while also supporting the native Windows Console API when VT isn’t available.

The library is still in early development, so I’d appreciate any feedback! Thanks for reading!

This project targets Zig 0.17.0.

4 Likes

Interesting. Reminds me much of mibu, from which I took some inspirations for my Zig TUI lib.

Yep i did see this library, but unfortunately its VT only.