OSC: fix bug with buffer disappearing

pull/7429/head
Jeffrey C. Ollie 2025-05-23 22:26:21 -05:00
parent 04e8e52171
commit 1d9d253e4d
No known key found for this signature in database
GPG Key ID: 6F86035A6D97044E
1 changed files with 1 additions and 1 deletions

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);
}
}