update at 2026-03-04 13:25:26

This commit is contained in:
douboer@gmail.com
2026-03-04 13:25:26 +08:00
parent 7d2be3d67d
commit 5fbfdc651f
44 changed files with 84 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
const fs = require('fs');
let code = fs.readFileSync('src/components/TerminalPanel.vue', 'utf8');
// I need to ensure that pointermove/pointerdown is NOT swallowing the touch event in mobile safari.
// Let's remove stopImmediatePropagation in the new logic if it's there.
// If touchmove just calls event.stopImmediatePropagation(), then xterm doesn't see it, but DOES it stop the native scroll if xterm is absolute positioned over the viewport?
// Wait, xterm's architecture:
// .xterm-screen is absolute positioned OVER .xterm-viewport.
// If user touches .xterm-screen (zIndex 1?), the touch is on .xterm-screen.
// .xterm-screen DOES NOT HAVE overflow-y: scroll. It's fixed height!
// Therefore, iOS panning gesture on .xterm-screen does NOT bubble to .xterm-viewport as a native scroll!
console.log("Analyzing xterm architecture...");