Skip to content

Release v0.6.9

Choose a tag to compare

@github-actions github-actions released this 20 Jan 00:52

Release v0.6.9 - Fix continuous touch scrolling (intercept xterm.js)

CRITICAL BREAKTHROUGH: Discovered xterm.js's Gesture system was blocking our touch handlers.

Root cause:

  • xterm.js registers touch handlers on .xterm-screen via Gesture.addTarget()
  • These handlers use preventDefault() and stopPropagation()
  • Our bubble-phase handlers never received touch events

Solution:

  • Use capture: true to intercept BEFORE xterm.js
  • Call stopPropagation() to block xterm.js's Gesture handlers
  • Add touch-action: none to .xterm-screen element

Research:

  • Analyzed xterm.js Viewport.ts and VS Code Gesture system source
  • Found xterm.js Issue #5377 confirms limited touch support
  • Issue #594 explains viewport structure interferes with touch

Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com