fix(callback): align profile_tasks recap output width (#773) (#782)

Use display.columns and get_text_width() for TASKS RECAP headers,
timestamps, and timing rows so output matches display.banner() width.
Add truncate_task_names (default false, version_added 2.3.0) with
display-width-aware truncation and padding for multibyte task names.
Add unit tests for ASCII and CJK recap rows, including the reproducer
from #773.

Co-authored-by: Tom Paine <github@aioue.net>
This commit is contained in:
Hideki Saito
2026-08-25 16:52:30 +09:00
committed by GitHub
co-authored by Tom Paine
parent 61dba1eb25
commit 7a70c0607c
4 changed files with 204 additions and 15 deletions