╭ changed ──────────╮ │src/embed/script.js│ ╰───────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │127 wasmInstance.exports._init(ptr, jsonBytes.length, minRows(), maxCols()); │ │128 │ │129 document.addEventListener("keydown", (event) => { │ │130 + // let the browser handle modifier combos. the TUI only uses unmodified keys,│ │131 + // so intercepting these would just break normal browser navigation. │ │132 + if (event.altKey || event.ctrlKey || event.metaKey) return; │ │133 // when a form element (text input or submit button) owns focus, │ │134 // the browser handles typing, Enter-to-submit, and Tab natively. │ │135 // we only forward keys into the TUI when focus is elsewhere. │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯