hotfix: alt+dot breakage

This commit is contained in:
Felix Roos 2024-10-20 21:04:18 +02:00
parent 1e0cc2ab17
commit d9bd6f9e7d

View File

@ -99,10 +99,8 @@ export function initEditor({ initialCode = '', onChange, onEvaluate, onStop, roo
}, },
{ {
key: 'Alt-.', key: 'Alt-.',
run: (_, e) => { preventDefault: true,
e.preventDefault(); run: () => onStop?.(),
onStop?.();
},
}, },
/* { /* {
key: 'Ctrl-Shift-.', key: 'Ctrl-Shift-.',