fixes #22 Full width characters not displayed in GB18030

This commit is contained in:
Garrett D'Amore 2015-10-05 00:10:17 -07:00
parent dd7d40dd07
commit b8c3aaddbc
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ func (t *tScreen) drawCell(x, y int, cell *Cell) {
}
}
}
if cell.Width > 1 {
if cell.Width > 1 && str == "?" {
// No FullWidth character support
if x < t.w-1 {
str = "? "