Minor change

This commit is contained in:
bjorn3
2024-01-13 19:25:49 +01:00
parent 5f6edc7adc
commit 24d1f95de3
+2 -1
View File
@@ -121,7 +121,8 @@ impl Screen for TextScreen {
}
fn resize(&mut self, width: usize, height: usize) {
self.screen.display.resize(width, height);
self.screen.resize(width, height);
self.screen.input.clear();
self.console.state.w = width / 8;
self.console.state.h = height / 16;
}