From fbe9d908ff190dd91b2f4cc6fa713a0cb2f6a419 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 20 Oct 2024 11:20:52 +0200 Subject: Dump crossterm and rataui newest versions --- src/ui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui.rs') 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); })?; -- cgit v1.2.3-18-g5258