Jeffrey C. Ollie 2025-12-17 19:03:11 -06:00 committed by GitHub
commit 47701b6d8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 987 additions and 1245 deletions

View File

@ -101,7 +101,7 @@ fn step(ptr: *anyopaque) Benchmark.Error!void {
};
for (osc_buf[0..len]) |c| self.parser.next(c);
_ = self.parser.end(std.ascii.control_code.bel);
std.mem.doNotOptimizeAway(self.parser.end(std.ascii.control_code.bel));
self.parser.reset();
}
}

View File

@ -17,6 +17,10 @@ pub const OSC = struct {
/// request.
terminator: Terminator = .st,
pub fn deinit(self: *OSC, alloc: std.mem.Allocator) void {
self.list.deinit(alloc);
}
/// We don't currently support encoding this to C in any way.
pub const C = void;

File diff suppressed because it is too large Load Diff