switch to ctrl from shift for keybindings

+ readme: removed cider and added mellowmusic
+ updated dep.
This commit is contained in:
Shiny Nematoda 2023-10-07 13:44:17 +00:00
parent bcb4dceaae
commit fe11f9d2f1
4 changed files with 138 additions and 140 deletions

View file

@ -93,9 +93,10 @@ function parseUrl() {
}
}
/* Keybindings */
function setupKeys() {
window.addEventListener('keydown', e => {
if (!e.shiftKey || e.repeat || 'string' == typeof e.target.value) return;
if (!e.ctrlKey || e.repeat || 'string' == typeof e.target.value) return;
switch (e.code) {
case 'Space':