From 5f7d28ef9664288346e3c7888f8cd551b7e0acd3 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 18 Jun 2024 09:35:29 -0500 Subject: [PATCH] Add inner getters to FocusTracker --- cursive-core/src/views/focus_tracker.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cursive-core/src/views/focus_tracker.rs b/cursive-core/src/views/focus_tracker.rs index eb991693..e2d5803c 100644 --- a/cursive-core/src/views/focus_tracker.rs +++ b/cursive-core/src/views/focus_tracker.rs @@ -57,6 +57,8 @@ impl FocusTracker { { self.on_focus_lost = Box::new(f); } + + inner_getters!(self.view: T); } impl ViewWrapper for FocusTracker {