[PATCH] crecord: fixes the formatting of the select status in the status line

Yuya Nishihara yuya at tcha.org
Tue Aug 15 22:55:00 EDT 2017


On Tue, 15 Aug 2017 16:51:54 -0700, Jun Wu wrote:
> len(text) does not take wide characters into consideration. So it does not
> work with all localizations in theory. Maybe we can just add spaces here and
> rely on translators to align them.

encoding.colwidth() could be used.


More information about the Mercurial-devel mailing list