Files
zterm/README.md
Yves Biener 6cd78d0418
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 54s
fix: release mode undefined usage (for optionals); bump to 0.14.dev
2024-11-19 23:27:12 +01:00

28 lines
713 B
Markdown

# zterm Terminal User Interface Library
`zterm` is a terminal user interface library to implement terminal (fullscreen or inline) applications.
> [!NOTE]
> Only builds using the master version might will work.
## Usage
To add or update `zterm` as a dependency in your project run the following command:
```sh
zig fetch --save git+https://gitea.yves-biener.de/yves-biener/zterm
```
Add the dependency to your module as follows in your _build.zig_:
```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](build.zig) for an example.