mirror of https://github.com/gdamore/tcell.git
fixes #22 Full width characters not displayed in GB18030
This commit is contained in:
parent
dd7d40dd07
commit
b8c3aaddbc
|
@ -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 = "? "
|
||||
|
|
Loading…
Reference in New Issue