Add configurable global hotkeys (#1305)

This commit is contained in:
ZacharyZcR
2026-08-24 01:10:19 +08:00
committed by GitHub
parent 9ee50d624a
commit cad7520c9f
7 changed files with 121 additions and 1 deletions
+10
View File
@@ -82,5 +82,15 @@ export function dispatchKeybindingAction(
});
return;
}
case "nextTab":
case "previousTab":
case "openCommandPalette": {
window.dispatchEvent(
new CustomEvent("termix:global-keybinding", {
detail: { type: action.type },
}),
);
return;
}
}
}