feat(core): wire up suppression middleware (enable=false in config)
This commit is contained in:
parent
c624ca676d
commit
2129494ae3
|
@ -166,3 +166,9 @@ impl<'a> espanso_engine::process::UndoEnabledProvider for ConfigManager<'a> {
|
|||
self.active().undo_backspace()
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> espanso_engine::process::EnabledStatusProvider for ConfigManager<'a> {
|
||||
fn is_config_enabled(&self) -> bool {
|
||||
self.active().enable()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -189,6 +189,7 @@ pub fn initialize_and_spawn(
|
|||
&config_manager,
|
||||
&combined_match_cache,
|
||||
&config_manager,
|
||||
&config_manager,
|
||||
);
|
||||
|
||||
let event_injector = EventInjectorAdapter::new(&*injector, &config_manager);
|
||||
|
|
Loading…
Reference in New Issue
Block a user