Yves Biener 2ef59ca9ea
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m22s
add(widget/Input): widget for user inputs
Accepts optional label and placeholders which are rendered accordingly.
The widget only is interactable if it is active. Hence it needs further
control from the outside scope where it is used (likely a corresponding
layout). This also applies to the inputed value, which needs to be
received from the within the owning layout to be used for further
processing (i.e. in custom user events, etc.).
2024-12-27 11:34:51 +01:00
2024-11-09 19:07:10 +01:00
2024-11-13 19:01:53 +01:00

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:

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.

Description
Terminal User Interface Library for TUI applications written in zig.
Readme MIT 2.9 MiB
Languages
Zig 100%