Problem
ScalePrompt clips the question and numeric scale row with regular string slicing. This can mis-measure labels when the question contains wide characters or combining marks, causing visible overflow or broken glyphs.
Source
packages/ui/src/ScalePrompt.ts
- Question and scale rows use
.slice(0, width)
Expected Behavior
ScalePrompt should truncate display rows by terminal cell width, not string length.
Acceptance Criteria
- Wide-character questions fit within the prompt width.
- Scale rows remain within bounds on narrow terminals.
- Add tests that assert rendered row display width stays within the component width.
Problem
ScalePrompt clips the question and numeric scale row with regular string slicing. This can mis-measure labels when the question contains wide characters or combining marks, causing visible overflow or broken glyphs.
Source
packages/ui/src/ScalePrompt.ts.slice(0, width)Expected Behavior
ScalePrompt should truncate display rows by terminal cell width, not string length.
Acceptance Criteria