Fast and reasonably complete (framebuffer) terminal emulator (Zig fork)
Flanterm#
Adapted from https://codeberg.org/Mintsuki/Flanterm for Zig. Read the C code and original README for more information.
Usage#
First, add the package to your build.zig.zon:
zig fetch --save git+https://tangled.sh/@sydney.blue/flanterm.zig#trunk
Then, add the following to your build.zig:
const flanterm_dep = b.dependency("flanterm", .{});
const flanterm_mod = flanterm.module("flanterm");
exe.root_module.addImport("flanterm", flanterm_mod);
Now, you can import the flanterm module and use the helpers. More
bindings will be added as needed, feel free to contribute anything
you would find useful.