termio: don't send extra OSC terminator for color reports (#8615)

Fixes #8613

I reiterate my comment in my own PR that this needs to be extracted so
we can unit test this. :)
pull/8625/head
Mitchell Hashimoto 2025-09-12 21:20:52 -07:00 committed by GitHub
commit 0c63946bdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -1429,7 +1429,6 @@ pub const StreamHandler = struct {
if (response.items.len > 0) {
// If any of the operations were reports, finalize the report
// string and send it to the terminal.
try writer.writeAll(terminator.string());
const msg = try termio.Message.writeReq(self.alloc, response.items);
self.messageWriter(msg);
}