build: update to libvaxis with uucode support

This commit is contained in:
CJ van den Berg 2025-11-23 21:45:51 +01:00
parent 765a5d2dc7
commit b2b34e4710
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
9 changed files with 21 additions and 35 deletions

View file

@ -1606,11 +1606,7 @@ fn stdplane(self: *Self) renderer.Plane {
pub fn top_layer(opts: renderer.Layer.Options) ?*renderer.Plane {
const self = current();
if (self.top_layer_) |_| return null;
self.top_layer_ = renderer.Layer.init(
self.allocator,
self.rdr_.stdplane().window.unicode,
opts,
) catch @panic("OOM toplayer");
self.top_layer_ = renderer.Layer.init(self.allocator, opts) catch @panic("OOM toplayer");
return self.top_layer_.?.plane();
}
@ -1626,7 +1622,7 @@ pub fn egc_chunk_width(chunk: []const u8, abs_col: usize, tab_width: usize) usiz
}
pub fn egc_last(egcs: []const u8) []const u8 {
return plane().egc_last(egcs);
return renderer.Plane.egc_last(egcs);
}
pub fn screen() Widget.Box {