We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2383e67 + 7cbb103 commit c5a80e2Copy full SHA for c5a80e2
1 file changed
src/livecodes/core.ts
@@ -2857,8 +2857,9 @@ const handleCommandMenu = async () => {
2857
let anotherShortcut = false;
2858
const onHotkey = async (e: KeyboardEvent) => {
2859
// Ctrl+K opens the command menu
2860
+ // do not open the menu if shortcut is Ctrl+Shift+K
2861
// wait for 500ms to allow other shortcuts like Ctrl+K Ctrl+0
- if (!ctrl(e)) {
2862
+ if (!ctrl(e) || e.shiftKey) {
2863
anotherShortcut = false;
2864
return;
2865
}
0 commit comments