Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capture shortcut commands when editor is not focused #167

Open
micuat opened this issue Jan 30, 2022 · 5 comments
Open

capture shortcut commands when editor is not focused #167

micuat opened this issue Jan 30, 2022 · 5 comments

Comments

@micuat
Copy link
Member

micuat commented Jan 30, 2022

maybe useful to avoid confusion - using library such as hotkey

@ojack
Copy link
Member

ojack commented Feb 9, 2022

I am a bit nervous as the shortcuts always seem to mess someone up / replace people's existing configurations.... but I agree this would be nice.

@ojack
Copy link
Member

ojack commented Feb 9, 2022

Also just to clarify, the browser tab with hydra itself has to be focused for this to work, but not the editor?

@micuat
Copy link
Member Author

micuat commented Feb 9, 2022 via email

@ojack
Copy link
Member

ojack commented Apr 11, 2022

looping back to this...I am still confused! What scenarios/key commands in the editor do not work that could work differently?

@micuat
Copy link
Member Author

micuat commented Apr 11, 2022

For example when the tab is open but the editor is not focused, codemirror cannot capture the commands. A simple scenario is - open the editor, press X to close the dialogue, and then press ctrl+shift+enter - the code won't be executed because the editor is not focused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants