AREPL-electron icon indicating copy to clipboard operation
AREPL-electron copied to clipboard

F1 & F4 dont do anything on mac

Open Almenon opened this issue 7 years ago • 0 comments
trafficstars

Pressing F1 does nothing. The function that is supposed to be called, restartExec, is never called.

Pressing F4 brings up launchpad instead of toggling the real-time eval.

Currently I am using window.onkeydown for my shortcuts.

But instead I could register a global shortcut, (which would take effect even if window is not in focus), or I could register a menu shortcut.

https://github.com/electron/electron/blob/master/docs/tutorial/keyboard-shortcuts.md

Almenon avatar Nov 24 '17 20:11 Almenon