Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix whitespace padding width with tabs and Unicode combining characters
Tabs are replaced by tabs to preserve the string width, all other characters are replaced by a single space. Moreover we now count the unicode graphemes instead of UTF16 units. It still has the problem that some characters (Emoji, CJK) are wider even in monospace fonts, but that's not that easy to determine.
- Loading branch information