diff --git a/Cargo.lock b/Cargo.lock index 3a2b840..adc3193 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1393,7 +1393,7 @@ dependencies = [ [[package]] name = "cosmic-freedesktop-icons" version = "0.4.0" -source = "git+https://github.com/pop-os/freedesktop-icons#9c562fe3ecf03241a46a60c0078cd6ea10bd75ce" +source = "git+https://github.com/pop-os/freedesktop-icons#739e266210d471c09af61d529d8f41dccd815b90" dependencies = [ "bstr", "btoi", diff --git a/src/main.rs b/src/main.rs index 0cf5222..9096544 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2473,7 +2473,7 @@ impl Application for App { // Handle configurable keys for (key_bind, action) in &self.key_binds { - if key_bind.matches(modifiers, &key) { + if key_bind.matches(modifiers, &key, None) { return self.update(action.message(None)); } } diff --git a/src/terminal_box.rs b/src/terminal_box.rs index 9be9f0d..d3c3a8b 100644 --- a/src/terminal_box.rs +++ b/src/terminal_box.rs @@ -942,7 +942,7 @@ where .. }) if state.is_focused && named == modified_named => { for key_bind in self.key_binds.keys() { - if key_bind.matches(*modifiers, &Key::Named(*named)) { + if key_bind.matches(*modifiers, &Key::Named(*named), None) { shell.capture_event(); return; } @@ -1130,7 +1130,7 @@ where .. }) if state.is_focused => { for key_bind in self.key_binds.keys() { - if key_bind.matches(*modifiers, key) { + if key_bind.matches(*modifiers, key, None) { shell.capture_event(); return;