Merge 48ac6a7023 into a4cb73db84
commit
47701b6d8b
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
2226
src/terminal/osc.zig
2226
src/terminal/osc.zig
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue