also looking at this
fix(capabilities): stop the channel manifest claiming knowledge it does not have
#68
15 files
+227
-67
| @@ -29,6 +29,7 @@ const bridge_error = ; | ||
| 29 | 29 | const logging = ; |
| 30 | 30 | const registry_mod = ; |
| 31 | 31 | const accel = ; |
| 32 | const capabilities = ; | |
| 32 | 33 | |
| 33 | 34 | const log = logging.shortcuts; |
| 34 | 35 | |
| @@ -149,6 +150,8 @@ pub const ShortcutsBridge = struct { | ||
| 149 | 150 | /// idempotent, so it runs before every registration rather than depending |
| 150 | 151 | /// on an initialisation order. |
| 151 | 152 | fn ensureDelivery(self: *Self) void { |
| 153 | _ = capabilities.registerEmitter(.shortcut); | |
| 154 | _ = capabilities.registerEmitter(.shortcut_error); | |
| 152 | 155 | const global_state = ; |
| 153 | 156 | global_state.instance.setShortcutsBridge(self); |
| 154 | 157 | if (comptime builtin.os.tag == .macos) { |