sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.29k stars 633 forks source link

[Feature request] Add Enter and Esc hotkeys handling for various dialogs #795

Closed Vort closed 2 years ago

Vort commented 2 years ago

It is common to have "close popup window" meaning for Esc key and "press OK button" for Enter key. For some dialogs (like editing component value), it is already implemented. But many others do not have it. Like Import From Text (Esc), Save As (both Esc and Enter), Shortcuts (at least Esc). Please check all popup windows and implement Enter and Esc hotkeys where it is possible and makes sense.

Vort commented 2 years ago

I tested some of the dialogs - works good in 2.7.2. Thank you.