Files
terminal-lab/pxterm/fix_touch_handlers_passive.cjs
2026-03-03 22:07:05 +08:00

9 lines
473 B
JavaScript

const fs = require('fs');
let code = fs.readFileSync('src/components/TerminalPanel.vue', 'utf8');
// The touchmove event on containerRef is currently { capture: true, passive: true }.
// xterm installs its own touchmove listener on the terminal wrapper but if we don't interfere, it should just work.
// Wait, xterm DOES its own momentum? No, xterm doesn't have mobile momentum out of the box... wait, maybe it does?
console.log('Cleaned up TouchMove. Testing theory.');