OSC: fix bug with buffer disappearing

This commit is contained in:
Jeffrey C. Ollie
2025-05-23 22:26:21 -05:00
parent 04e8e52171
commit 1d9d253e4d

View File

@@ -1367,7 +1367,7 @@ pub const StreamHandler = struct {
}
if (report) {
try writer.writeAll(terminator.string());
const msg: termio.Message = .{ .write_stable = response.items };
const msg = try termio.Message.writeReq(self.alloc, response.items);
self.messageWriter(msg);
}
}