build: update libvaxis

This commit is contained in:
CJ van den Berg 2025-07-23 12:00:22 +02:00
parent aeb734ba64
commit 54eb30468a
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 5 additions and 5 deletions

View file

@ -27,8 +27,8 @@
.hash = "fuzzig-0.1.1-AAAAALNIAQBmbHr-MPalGuR393Vem2pTQXI7_LXeNJgX",
},
.vaxis = .{
.url = "https://github.com/neurocyte/libvaxis/archive/6137cb4c44a7350996f0946a069739e5075d1f23.tar.gz",
.hash = "vaxis-0.1.0-BWNV_HwOCQCw5wTV63hQGSc1QJzsNcytH6sGf1GBc0hP",
.url = "git+https://github.com/neurocyte/libvaxis?ref=main#846ddb8bf483e8a7eb25628d6c34ba7e781155b6",
.hash = "vaxis-0.5.1-BWNV_AsQCQDvfb-li1CZEOBG_YsteinP9qI-PpV47-jf",
},
.zeit = .{
.url = "https://github.com/rockorager/zeit/archive/8fd203f85f597f16e0a525c1f1ca1e0bffded809.tar.gz",

View file

@ -180,7 +180,7 @@ fn handleSegfaultPosixNoAbort(sig: i32, info: *const std.posix.siginfo_t, ctx_pt
pub fn run(self: *Self) Error!void {
self.vx.sgr = .legacy;
self.vx.conpty_hacks = true;
self.vx.enable_workarounds = true;
panic_cleanup = .{ .allocator = self.allocator, .tty = &self.tty, .vx = &self.vx };
if (!self.no_alternate) self.vx.enterAltScreen(self.tty.anyWriter()) catch return error.TtyWriteError;
@ -639,7 +639,7 @@ const Loop = struct {
switch (builtin.os.tag) {
.windows => {
var parser: vaxis.Parser = .{
.graphemes = &self.vaxis.unicode.graphemes,
.grapheme_data = &self.vaxis.unicode.width_data.graphemes,
};
const a = self.vaxis.opts.system_clipboard_allocator orelse @panic("no tty allocator");
while (!self.should_quit) {
@ -648,7 +648,7 @@ const Loop = struct {
},
else => {
var parser: vaxis.Parser = .{
.graphemes = &self.vaxis.unicode.graphemes,
.grapheme_data = &self.vaxis.unicode.width_data.graphemes,
};
const a = self.vaxis.opts.system_clipboard_allocator orelse @panic("no tty allocator");