gsxdsm
2132a1cefc
FN-7298: fix mobile terminal font metric refits
Rework mobile terminal preference refits so small font sizes keep correct xterm cell metrics.
- Wait for settled terminal font metrics after live preference changes before refitting and refreshing xterm surfaces.
- Guard asynchronous metric waits from overwriting newer SessionTerminal font preferences.
- Cover keyboard-open 10px mobile terminal behavior and stale preference races with regression tests.
- Add a patch changeset for the published Fusion CLI package.
Files changed:
.../fn-7298-mobile-terminal-character-spacing.md | 7 +++
.../dashboard/app/components/SessionTerminal.tsx | 58 +++++++++++++++----
.../dashboard/app/components/TerminalModal.tsx | 59 ++++++++++++++++----
.../__tests__/SessionTerminal.mobile.test.tsx | 50 +++++++++++++++++
.../components/__tests__/SessionTerminal.test.tsx | 16 +++++-
.../components/__tests__/TerminalModal.test.tsx | 65 ++++++++++++++++++++++
6 files changed, 232 insertions(+), 23 deletions(-)
Fusion-Task-Id: FN-7298
Fusion-Task-Lineage: b1d6dbf1-8f2c-41e9-b7ee-aa758355345b
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-06-30 13:36:11 -07:00
..
2026-06-30 12:21:25 -07:00
2026-06-28 12:49:55 -07:00
2026-06-30 13:30:28 -07:00
2026-06-30 13:36:11 -07:00
2026-06-28 12:49:55 -07:00
2026-06-28 12:49:55 -07:00
2026-06-30 13:20:27 -07:00
2026-06-28 12:49:55 -07:00
2026-06-29 20:50:14 -07:00
2026-06-30 13:20:27 -07:00
2026-06-08 15:19:27 -07:00
2026-06-28 12:49:55 -07:00