From e1eb0d99f17e6604e79496db68b191202cb95d60 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Fri, 23 Aug 2024 20:44:16 -0400 Subject: update dependencies --- src/display/systems.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/display') diff --git a/src/display/systems.rs b/src/display/systems.rs index 9f8acb9..120272b 100644 --- a/src/display/systems.rs +++ b/src/display/systems.rs @@ -74,7 +74,7 @@ pub fn print_to_terminal( .white() .bold() .wrap(Wrap { trim: true }), - frame.size(), + frame.area(), ); let mut active_widgets = widgets @@ -83,7 +83,7 @@ pub fn print_to_terminal( .collect::>(); active_widgets.sort_by(|a, b| a.depth.cmp(&b.depth)); for mut widget in active_widgets { - widget.widget.render(frame, frame.size()); + widget.widget.render(frame, frame.area()); } }) .expect("Failed to draw terminal frame"); -- cgit v1.2.3