Files
orca/src/renderer
Jinwoo-HandOrca 6d40e01ccb Fix pane ID collision in mobile-fit overrides by using ptyId-based lookups
Pane IDs are per-tab, so two tabs can both have pane 1. The old
ptyIdByPaneId map keyed by bare pane ID caused the left initial terminal
to stay stuck at phone dimensions (49 cols) even after the mobile-fit
override was cleared — the override for a different tab's pane with the
same ID would match.

- Change override map key from bare paneId to tabId:paneId composite
- Switch safeFit to look up overrides via data-pty-id attribute (globally unique)
- Same ptyId-based lookup in onResize, terminal-appearance, and reattach
- Fix test mocks to include container.dataset for data-pty-id writes

Co-authored-by: Orca <help@stably.ai>
2026-04-30 18:03:57 -04:00
..
2026-03-17 01:40:24 -07:00