Files
compose/cmd/display
Guillaume Lours ef3238ab1f fix(progress): measure taskID width in runes, not bytes
maxBeforeStatusWidth used len(l.taskID) (bytes) while applyPadding
used utf8.RuneCountInString (runes). For ASCII task IDs the two
agree and no symptom surfaces, but a taskID containing multi-byte
UTF-8 chars (CJK, emoji, accented Latin) reported a width larger
than its visual columns. computeOverflow then triggered truncation
where none was needed, and truncateLongestTaskID's byte-indexed
slice could land mid-multibyte sequence, corrupting the displayed
string.

Align the two measurements on rune count.

Signed-off-by: Guillaume Lours <[email protected]>
2026-06-15 15:00:57 +02:00
..
2025-11-12 11:17:28 +01:00
2025-11-12 11:17:28 +01:00