update at 2026-03-03 22:07:05
This commit is contained in:
8
pxterm/fix_touch_handlers_passive.cjs
Normal file
8
pxterm/fix_touch_handlers_passive.cjs
Normal file
@@ -0,0 +1,8 @@
|
||||
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.');
|
||||
Reference in New Issue
Block a user