Resize ransid

This commit is contained in:
Jeremy Soller
2017-03-22 22:15:58 -06:00
parent b8aca0f5f0
commit 58246591c0
+2
View File
@@ -45,6 +45,8 @@ impl Screen for TextScreen {
fn resize(&mut self, width: usize, height: usize) {
self.display.resize(width, height);
self.console.w = width / 8;
self.console.h = height / 16;
}
fn event(&mut self, flags: usize) -> Result<usize> {