mu4e-headers: use string-width, not length for alignment

For e.g., for CJK languages
This commit is contained in:
Dirk-Jan C. Binnema
2025-06-28 17:14:18 +03:00
parent 417c070e27
commit 97fbaf1771

View File

@ -602,7 +602,7 @@ the correct column for display."
sum w
until (equal f field))))
(setq val (string-trim-right val))
(if (> width (length val))
(if (> width (string-width val))
(setq val (concat val " "))
(setq val
(concat