7c9038fbda2daea0a99d97a5e57a906295fb7c0a
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 36s
Updated exec example which uses centered text.
zterm Terminal User Interface Library
zterm is a terminal user interface library to implement terminal (fullscreen or inline) applications.
Note
Currently version
0.13.0is officially supported. Builds using the master version might not work.
Usage
To add or update zterm as a dependency in your project run the following command:
zig fetch --save git+https://gitea.yves-biener.de/yves-biener/zterm
Add the dependency to your module as follows in your build.zig:
const zterm: *Dependency = b.dependency("zterm", .{
.target = target,
.optimize = optimize,
});
// ...
exe.root_module.addImport("zterm", zterm.module("zterm"));
For an example you can take a look at build.zig for an example.
Languages
Zig
100%