1 parent
d6c5590ad0
commit
2af2c6de31
1 file changed
+1
-1
@@ -211,7 +211,7 @@ func (win *win) print(screen tcell.Screen, x, y int, st tcell.Style, s string) t
|
|||||||
|
|
||||||
for {
|
for {
|
||||||
rc, wc := utf8.DecodeRuneInString(s[i+w:])
|
rc, wc := utf8.DecodeRuneInString(s[i+w:])
|
||||||
if rc == gEscapeCode || runewidth.RuneWidth(rc) != 0 {
|
if rc == gEscapeCode || rc == '\t' || runewidth.RuneWidth(rc) != 0 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
comb = append(comb, rc)
|
comb = append(comb, rc)
|
||||||
|
|||||||
Reference in new issue
Block a user