Problem
Terminal dimensions are inconsistent between CLI and dashboard for the same WithTerminal(...) resource.
Observed values:
aspire terminal ps reports 120x30
- Dashboard terminal shows 80x24
These appear to be out of sync.
Repro
- Start an AppHost with a resource configured using
WithTerminal(...).
- Run
aspire terminal ps and observe reported size.
- Open the terminal in the dashboard and compare displayed size.
Example environment used:
Impact
This likely contributes to cursor/mouse hit-testing/calculation issues in the dashboard terminal until a resize occurs.
Behavior detail
Mouse cursor calculation issues persist until a resize event is triggered, for example by:
- taking control / making the terminal primary in the dashboard, or
- another primary attach causing a resize.
Expected
CLI and dashboard should remain synchronized on terminal dimensions so cursor/input mapping is correct without requiring manual resize recovery.
Problem
Terminal dimensions are inconsistent between CLI and dashboard for the same
WithTerminal(...)resource.Observed values:
aspire terminal psreports 120x30These appear to be out of sync.
Repro
WithTerminal(...).aspire terminal psand observe reported size.Example environment used:
~/Code/scratch/testtesaImpact
This likely contributes to cursor/mouse hit-testing/calculation issues in the dashboard terminal until a resize occurs.
Behavior detail
Mouse cursor calculation issues persist until a resize event is triggered, for example by:
Expected
CLI and dashboard should remain synchronized on terminal dimensions so cursor/input mapping is correct without requiring manual resize recovery.