Skip to content

Commit

Permalink
hotfix: alt+dot breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Oct 20, 2024
1 parent 1e0cc2a commit d9bd6f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/codemirror/codemirror.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,8 @@ export function initEditor({ initialCode = '', onChange, onEvaluate, onStop, roo
},
{
key: 'Alt-.',
run: (_, e) => {
e.preventDefault();
onStop?.();
},
preventDefault: true,
run: () => onStop?.(),
},
/* {
key: 'Ctrl-Shift-.',
Expand Down

0 comments on commit d9bd6f9

Please sign in to comment.