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

Make debug-mode toggleable on keydown #58

Open
andrewpbray opened this issue Aug 2, 2024 · 1 comment
Open

Make debug-mode toggleable on keydown #58

andrewpbray opened this issue Aug 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@andrewpbray
Copy link
Contributor

Options in yaml would be debug-mode: {true, false} with default to false. if true, could be toggled off and back on.

  • Lua filter would check meta and if toggle, write option into <meta>
  • In JS, if <meta>, set-up event listener for keydown that will add, remove debug class.
@andrewpbray andrewpbray added the enhancement New feature or request label Aug 2, 2024
@jimjam-slam
Copy link
Collaborator

The only thing we need to watch out for/test with hot keys is ensuring they don't consume events intended for other things (like preventing text from being entered in a text box)!

@andrewpbray andrewpbray added this to the positconf-24 milestone Aug 5, 2024
@andrewpbray andrewpbray removed this from the positconf-24 milestone Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants