diff --git a/src/kanata/mod.rs b/src/kanata/mod.rs index cdd04d0fa..29b666cd3 100755 --- a/src/kanata/mod.rs +++ b/src/kanata/mod.rs @@ -2114,8 +2114,7 @@ fn check_for_exit(_event: &KeyEvent) { } #[cfg(all( not(target_os = "linux"), - not(target_os = "windows"), - not(feature = "gui") + not(all(target_os = "windows", feature = "gui")) ))] { panic!("{EXIT_MSG}");