summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 00:45:31 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commit84c2699e22d9660ef5b6de54643c0c78f2e8e855 (patch)
treedc2851d34184ee695613a16b6e72efc45d1120de /build.zig
parent191d0eca0ba25b94ce2b466cc11b879e7553473a (diff)
downloadpardes-84c2699e22d9660ef5b6de54643c0c78f2e8e855.tar.gz
pardes-84c2699e22d9660ef5b6de54643c0c78f2e8e855.zip
width: back to libvaxis's gwidth, the user's ruling (keeping a dependency beats reimplementing it in the core): vmkopprq reverted: the core measures a grapheme's cells with vaxis.gwidth.gwidth(.unicode) again (File.graphemeDisplayWidth and its neighbours, surface.zig, draw.zig's test), File.utf8Width and tui.zig's corpus test that held vaxis's width to it go, and build.zig gives libvaxis to the core module again, so vaxis stays a dependency of the core; the widths were the same on every Unicode scalar value (vmkopprq's proof), so every golden and snapshot is unchanged; the changelog's shared entry keeps the palette sentence alone
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 1 insertions, 3 deletions
diff --git a/build.zig b/build.zig
index 26eb0c5c..0e67b61e 100644
--- a/build.zig
+++ b/build.zig
@@ -842,9 +842,7 @@ pub fn build(b: *std.Build) void {
.mvzr = mvzr_mod,
.c_heap = c_heap_mod,
.ghostty_vt = ghostty_core_vt,
- // The tui's and the gui's (main.zig's roots); the core measures
- // text with uucode alone (File.utf8Width).
- .vaxis = if (m == core_module) null else vaxis_mod,
+ .vaxis = vaxis_mod,
.uucode = uucode_mod,
.wuffs = wuffs_mod,
.xitdb = xitdb_mod,