3 ms·
Cool! One thing I hope you can fix: That page hijacks cmd-option-{left, right}, which are (or can be) used in Safari for tab switching. Very annoying. Apps that
by lobster_johnson 10y ago
Cool! One thing I hope you can fix: That page hijacks cmd-option-{left, right}, which are (or can be) used in Safari for tab switching. Very annoying. Apps that hook the arrow keys should always check for whether shift/alt/ctrl/meta keys are also down, to avoid trampling on people's keyboard shortcuts.
- steveklabnik 10y agoAh! I will file a bug against mdbook tomorrow, Thanks.
- JoshTriplett 10y ago> Apps that hook the arrow keys should always check for whether shift/alt/ctrl/meta keys are also down, to avoid trampling on people's keyboard shortcuts. The majority of pages shouldn't intercept up/down either, because that breaks the ability to scroll the page. Only pages that will never involve scrolling (such as whole-screen web apps or games) should do that. Left/right can be OK, as long as you never expect your page to need horizontal scrolling.