hundredrabbits/Ronin

`^ R` shortcut is overloaded with browser refresh in browser based Ronin

XiNNiW opened this issue · 0 comments

As Ronin now runs in the OS's browser, instead of in electron, it can interact with the browsers keyboard shortcuts. ^ R is often overloaded with "refresh". If the page is refreshed while unsaved changes to the script are active in Ronin, those changes will be lost.

Desired outcome: Ideally, the keyboard shortcut would not conflict with the browser and it should be hard to accidentally refresh the page. Perhaps selecting a different shortcut is the simplest solution.

^ Enter is often used in livecoding repl's and does not appear to conflict with any browser shortcuts.

This issue feels similar to #90 . However, I am not seeing a prompt to prevent lost changes in firefox or chromium.