Skip to content

Terminal size mismatch between aspire terminal ps and dashboard causes cursor/input offset issues #18085

@mitchdenny

Description

@mitchdenny

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

  1. Start an AppHost with a resource configured using WithTerminal(...).
  2. Run aspire terminal ps and observe reported size.
  3. Open the terminal in the dashboard and compare displayed size.

Example environment used:

  • ~/Code/scratch/testtesa

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions