2 ms·
A project I work on, "ftfy", deals with various Unicode issues. On the master branch, it's recently gained a module for aligning monospaced Unicode in a termina
by rspeer 11y ago
A project I work on, "ftfy", deals with various Unicode issues. On the master branch, it's recently gained a module for aligning monospaced Unicode in a terminal:
https://github.com/LuminosoInsight/python-ftfy/blob/master/ftfy/formatting.py https://github.com/LuminosoInsight/python-ftfy/blob/master/f...
The result works pretty well in my gnome-terminal and Mac OS Terminal. You can probably see that GitHub in your web browser doesn't even come close to lining them up, though.
And the problem can't be completely solved, because the standards have gaps, and there are some scripts where monospacing just isn't a thing.