terminal: resize causes full screen redraw

This commit is contained in:
Mitchell Hashimoto
2024-04-28 14:51:20 -07:00
parent 037f8d3a5e
commit bb138becc5

View File

@ -2383,6 +2383,9 @@ pub fn resize(
} }
} }
// Whenever we resize we just mark it as a screen clear
self.flags.dirty.clear = true;
// Set our size // Set our size
self.cols = cols; self.cols = cols;
self.rows = rows; self.rows = rows;