Skip to content

Commit 58352fd

Browse files
authored
🤖 fix: require Control for cancel edit on mac (#161)
## Summary - require Control on mac for the cancel-edit shortcut so we no longer intercept ⌘+Q ## Testing - make typecheck (fails: existing JSX intrinsic element/type resolution errors) _Generated with `cmux`_ Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parent 2959246 commit 58352fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/utils/ui/keybinds.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export const KEYBINDS = {
190190
CANCEL: { key: "Escape" },
191191

192192
/** Cancel editing message (exit edit mode) */
193-
CANCEL_EDIT: { key: "q", ctrl: true },
193+
CANCEL_EDIT: { key: "q", ctrl: true, macCtrlBehavior: "control" },
194194

195195
/** Interrupt active stream (destructive - stops AI generation) */
196196
INTERRUPT_STREAM: { key: "c", ctrl: true, macCtrlBehavior: "control" },

0 commit comments

Comments
 (0)