This commit is contained in:
Moritz Ruth 2024-03-06 21:39:48 +01:00
parent db0cc13267
commit 2fce4312eb
Signed by: moritzruth
GPG key ID: C9BBAB79405EE56D
6 changed files with 10 additions and 7 deletions

View file

@ -43,7 +43,7 @@ pub struct Handler {
}
impl Handler {
pub fn new(data: InitialHandlerMessage<KeyConfig, ()>) -> Result<Self, HandlerInitializationError> {
pub fn new(data: InitialHandlerMessage<(), KeyConfig, ()>) -> Result<Self, HandlerInitializationError> {
let events_sender = broadcast::Sender::<(KeyPath, KeyEvent)>::new(5);
thread::spawn({

View file

@ -14,6 +14,7 @@ enum CliCommand {
}
fn main() -> Result<()> {
env_logger::init();
let command = CliCommand::parse();
match command {