Fast and reasonably complete (framebuffer) terminal emulator (Zig fork)
1const std = @import("std");
2
3pub fn build(b: *std.Build) void {
4 // Create the exported module
5 const mod = b.addModule("flanterm", .{
6 .root_source_file = b.path("src/root.zig"),
7 });
8
9 // Add the C source files and includes
10 mod.addIncludePath(b.path("src"));
11 mod.addCSourceFiles(.{
12 .files = &.{
13 "src/flanterm.c",
14 "src/flanterm_backends/fb.c",
15 },
16 });
17}