[issue12568] Add functions to get the width in columns of a character

STINNER Victor report at bugs.python.org
Mon Oct 17 20:37:02 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> I'm -1 on using wcswidth, though.

When you write text into a console on Linux (e.g. displayed by gnome-terminal or konsole), I suppose that wcswidth() can be used to compute the width of a line. It would help to fix #2382.

Or do you think that wcswidth() gives the wrong result for this use case?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12568>
_______________________________________


More information about the Python-bugs-list mailing list