termio: need to update cached size on resize

This commit is contained in:
Mitchell Hashimoto
2024-11-15 10:43:16 -08:00
parent 381df8c4d5
commit f16af9de81

View File

@ -350,6 +350,7 @@ pub fn resize(
td: *ThreadData,
size: renderer.Size,
) !void {
self.size = size;
const grid_size = size.grid();
// Update the size of our pty.