if it helps, all you need to do is add this listener to support the cmd key:
`document.addEventListener('keydown', (e) => (e.metaKey && e.code === 'Enter' && evaluate() && e.preventDefault()));`
The metaKey[1] is only accessible for keydown.
[1] https://stackoverflow.com/questions/3902635/how-does-one-cap...