aschmelyun / use-the-keyboard

A collection of keyboard shortcuts for Mac apps, Windows programs, and websites.
https://usethekeyboard.com
165 stars 19 forks source link

Chrome DevTools: Console panel shortcuts for MacOS incorrect #154

Open shaneriley opened 1 year ago

shaneriley commented 1 year ago

The shortcuts for "focus the console" and "clear the console" are both incorrect for MacOS. I'm assuming the view generation code is swapping all instances of "Ctrl" for "Cmd", which in these two should not be done. These are the two command definitions that are incorrect:

https://github.com/aschmelyun/use-the-keyboard/blob/master/content/chrome-devtools.json#L255-L262

I'm not sure if there are others that are incorrect as a result of this substitution, but it would be a good idea to check them and, if a method of skipping the substitution doesn't already exist, add one and mark these commands.