Files
fusion/.changeset/fix-terminal-text-input-regression.md
2026-04-12 19:16:15 -07:00

558 B

@gsxdsm/fusion
@gsxdsm/fusion
patch

Fix terminal text entry not working in the dashboard.

This fix ensures xterm's hidden textarea receives proper focus after initialization by:

  1. Focusing the helper textarea directly after terminal.open()
  2. Dispatching a synthetic click event on the terminal container to trigger xterm's internal focus tracking

These changes address the root cause where programmatic focus() calls alone did not properly trigger xterm.js's internal focus management, which relies on canvas click events for full input handling setup.