editline ported to the zig build system
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-23 10:02:38 -05:00
.gitignore updated to zig 0.16.0 2026-08-23 09:23:31 -05:00
build.zig added missing header file 2026-08-23 10:02:38 -05:00
build.zig.zon upgraded editline to 2.1.0 2026-08-23 09:39:13 -05:00
README.md added readme 2025-06-25 07:52:29 -05:00

editline

This is editline, packaged for Zig.

How to use it

First, update your build.zig.zon:

zig fetch --save https://github.com/allyourcodebase/editline.git

Next, add this snippet to your build.zig script:

const editline_dep = b.dependency("editline", .{
    .target = target,
    .optimize = optimize,
});
your_compilation.linkLibrary(editline_dep.artifact("editline"));

This will provide a editline as a static library to your_compilation.