Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the display width for Chinese characters and so on (chzyer#145)
The display width will not be right if there have Chinese characters in the display. It will overflow the line, if the Chinese characters are at the end of a line. And makes "lines" value not the right number of line rows, which makes "239: fmt.Fprintf" produce wrong output.
- Loading branch information