pub fn visible_width(s: &str) -> usizeExpand description
Count the visible width of a Pango-marked string (its character count with
all <span …>…</span> tags stripped). Used by the bordered-box renderer
for padding alignment — claudebar implements this with sed 's/<[^>]*>//g'.