summaryrefslogtreecommitdiff
path: root/src/wcwidth.cc
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace cleanupJohn Wiegley2015-08-041-1/+1
|
* Fixing two GCC warningsPeter Feigl2014-02-261-2/+2
|
* Correctly justify Unicode characters in terminalKan-Ru Chen (陳侃如)2014-02-131-0/+319
Many Unicode characters take more spaces than one ASCII character. For example, Chinese characters are two characters wide when using monospace font in terminal. This patch use wcwidth of Markus Kuhn to count the correct width for justification.