Context
The Retina bug in #301 went unnoticed for a release because nothing shows how big TuiCode thinks a terminal cell is. This slice adds that to the diagnostics overlay, alongside the cursor colour row, so a wrong measurement is one keystroke away on the machine that's wrong. Pitch: #301. Needs #333 merged first: the row shows the scale that task reads.
Acceptance criteria
Tests
- The row's text for each source: iTerm2 report with its scale,
CSI 16 t, and the assumed default.
- The source reported is the one whose answer was actually used ("first answer wins").
Out of scope
- Re-probing from the overlay, or a button to do so.
- Showing both queries' answers, or timings.
- Any change to how the cell size is detected.
Context
The Retina bug in #301 went unnoticed for a release because nothing shows how big TuiCode thinks a terminal cell is. This slice adds that to the diagnostics overlay, alongside the cursor colour row, so a wrong measurement is one keystroke away on the machine that's wrong. Pitch: #301. Needs #333 merged first: the row shows the scale that task reads.
Acceptance criteria
sd) has a Cell size row, shown as aLabelpair like the rows around it.16 × 35 px • iTerm2 report, scale 2.0.10 × 20 px • CSI 16 t.10 × 20 px • no answer, assumed.Tests
CSI 16 t, and the assumed default.Out of scope