this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: update to zig 0.13, broken test

authored by

Rylee Lyman and committed by
Tim Culverhouse
e2c19c3c 9bbcebb7

+11 -11
+8 -8
build.zig.zon
··· 4 4 .minimum_zig_version = "0.12.0", 5 5 .dependencies = .{ 6 6 .zigimg = .{ 7 - .url = "git+https://github.com/zigimg/zigimg#637974e2d31dcdbc33f1e9cc8ffb2e46abd2e215", 8 - .hash = "122012026c3a65ff1d4acba3b3fe80785f7cee9c6b4cdaff7ed0fbf23b0a6c803989", 7 + .url = "git+https://github.com/zigimg/zigimg#3a667bdb3d7f0955a5a51c8468eac83210c1439e", 8 + .hash = "1220dd654ef941fc76fd96f9ec6adadf83f69b9887a0d3f4ee5ac0a1a3e11be35cf5", 9 9 .lazy = true, 10 10 }, 11 11 .gap_buffer = .{ ··· 14 14 .lazy = true, 15 15 }, 16 16 .znvim = .{ 17 - .url = "git+https://github.com/jinzhongjia/znvim#7927b8042872d5fa5f30862302bea1290d372d4f", 18 - .hash = "12202372c2043a9ac557144d327c09638ccd8d615bba459ba17d1a7a4197a213d939", 17 + .url = "git+https://github.com/jinzhongjia/znvim#515fb2784f7b0db2ea7a0021aada8d4aa89a08fe", 18 + .hash = "1220ca0a762fdf3172623e3f15890e396c975657d8ec57d907896f74ef94a37b73f2", 19 19 .lazy = true, 20 20 }, 21 21 .zg = .{ 22 - .url = "git+https://codeberg.org/dude_the_builder/zg#16735685fcc3410de361ba3411788ad1fb4fe188", 23 - .hash = "1220fe9ac5cdb41833d327a78745614e67d472469f8666567bd8cf9f5847a52b1c51", 22 + .url = "git+https://codeberg.org/dude_the_builder/zg#6d2ba3ff8f3cb7c86cef2b2176fb5b4a72c104dc", 23 + .hash = "1220da2679c872f73b60b8071d96b9b0e7790ac1a1597e02bf91807d6089f3c89005", 24 24 }, 25 25 .libxev = .{ 26 - .url = "git+https://github.com/mitchellh/libxev#b3f9918776b8700b337b7ebe769060328fe246b0", 27 - .hash = "122044caf67c7833c7110dc93531031899e459a6818ed125a0bcfdb0b5243bd7700b", 26 + .url = "git+https://github.com/mitchellh/libxev#f6a672a78436d8efee1aa847a43a900ad773618b", 27 + .hash = "12207b7a5b538ffb7fb18f954ae17d2f8490b6e3778a9e30564ad82c58ee8da52361", 28 28 .lazy = true, 29 29 }, 30 30 },
+1 -1
src/Key.zig
··· 265 265 266 266 pub const name_map = blk: { 267 267 @setEvalBranchQuota(2000); 268 - break :blk std.ComptimeStringMap(u21, .{ 268 + break :blk std.StaticStringMap(u21).initComptime(.{ 269 269 // common names 270 270 .{ "plus", '+' }, 271 271 .{ "minus", '-' },
+2 -2
src/Parser.zig
··· 540 540 'y' => { 541 541 // DECRPM (CSI ? Ps ; Pm $ y) 542 542 const delim_idx = std.mem.indexOfScalarPos(u8, input, 2, ';') orelse return null_event; 543 - const ps = std.fmt.parseUnsigned(u16, input[3..delim_idx], 10) catch return null_event; 544 - const pm = std.fmt.parseUnsigned(u8, input[delim_idx + 1 .. sequence.len - 2], 10) catch return null_event; 543 + const ps = std.fmt.parseUnsigned(u16, input[2..delim_idx], 10) catch return null_event; 544 + const pm = std.fmt.parseUnsigned(u8, input[delim_idx + 1 .. sequence.len - 1], 10) catch return null_event; 545 545 switch (ps) { 546 546 // Mouse Pixel reporting 547 547 1016 => switch (pm) {