summaryrefslogtreecommitdiff
path: root/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.rs')
-rw-r--r--src/ui.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui.rs b/src/ui.rs
index 92e2a04..b8f047c 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -98,9 +98,9 @@ impl UI {
}
}
- self.height = terminal.get_frame().size().height as usize;
+ self.height = terminal.get_frame().area().height as usize;
terminal.draw(|frame| {
- let size = frame.size();
+ let size = frame.area();
frame.render_widget(self.get_paragraph(pid), size);
})?;