The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 18:30 UTC
Require modifier keys for script keybinding capture
Co-authored-by: codex <codex@users.noreply.github.com>
Julius Marminge committed
Feb 17, 2026 at 22:21 UTC
c8c0dc6c3c3aa99a36f9d29a9718306a62b4727a
1 file changed
+3
apps/web/src/components/ProjectScriptsControl.tsx
+3
@@ -122,6 +122,9 @@ function keybindingFromEvent(event: KeyboardEvent<HTMLInputElement>): string | n
122
}
123
if (event.altKey) parts.push("alt");
124
if (event.shiftKey) parts.push("shift");
125
+ if (parts.length === 0) {
126
+ return null;
127
+ }
128
parts.push(keyToken);
129
return parts.join("+");
130
}