qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

custom.js (298B)


      1 document.addEventListener('keydown', (event) => {
      2     // find a better way to look it up?
      3     let search_input = document.getElementsByName('q')[0];
      4 
      5     if (event.code === 'KeyS' && document.activeElement !== search_input) {
      6         event.preventDefault();
      7         search_input.focus();
      8     }
      9 });