feat(FN-1602): merge fusion/fn-1602

This commit is contained in:
gsxdsm
2026-04-12 19:16:15 -07:00
parent cd73ecbf84
commit 745c9c7ff4
3 changed files with 169 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
---
"@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.