mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
fix ttyWrite calculation to avoid truncating data
the math was wrong. The easiest way to see this was attempting to paste a large chunk of text, it'd just skip certain parts and truncate it.
This commit is contained in:
@ -392,7 +392,7 @@ fn queueWrite(self: *Window, data: []const u8) !void {
|
|||||||
ttyWrite,
|
ttyWrite,
|
||||||
);
|
);
|
||||||
|
|
||||||
i += end;
|
i = end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user