commit
This commit is contained in:
parent
db0cc13267
commit
2fce4312eb
6 changed files with 10 additions and 7 deletions
|
@ -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({
|
||||
|
|
|
@ -14,6 +14,7 @@ enum CliCommand {
|
|||
}
|
||||
|
||||
fn main() -> Result<()> {
|
||||
env_logger::init();
|
||||
let command = CliCommand::parse();
|
||||
|
||||
match command {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue