ref: 4be612946fe849d56d24d4816127644bf1a6ab17
parent: ef3af6eaa3da78c330596a88779469337eebc49d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 9 14:53:48 EDT 2017
vt: fix silly bug causing characters be drawn one at a time
--- a/sys/src/cmd/vt/main.c
+++ b/sys/src/cmd/vt/main.c
@@ -372,7 +372,7 @@
cp = onscreenc(x, y);
c = fgcol(*ap, *cp);
for(n = 1; x+n <= xmax && rp[n] != 0 && fgcol(ap[n], cp[n]) == c
- && (ap[n] ^ *ap) & TUnderline == 0; n++)
+ && ((ap[n] ^ *ap) & TUnderline) == 0; n++)
;
p = pt(x, y);
q = runestringn(screen, p, c, ZP, font, rp, n);