From d51ef53f4984e39568e7c01a4ae0f47f2819002a Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 3 Jan 2025 13:51:59 -0500 Subject: [PATCH] fix: Don't explicitly add ctrl-c-handling plugin as it is likely included in related groups. --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d945794..2404d46 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -89,8 +89,7 @@ pub struct FullThrottlePlugin { impl Plugin for FullThrottlePlugin { fn build(&self, app: &mut App) { - app.add_plugins(TerminalCtrlCHandlerPlugin) - .insert_resource(*self) + app.insert_resource(*self) .add_systems(Startup, setup) .add_systems(PostUpdate, (focus_change, exit)); }