Commit 58246591 authored by Jeremy Soller's avatar Jeremy Soller

Resize ransid

parent b8aca0f5
......@@ -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> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment