diff options
author | Rich Felker <dalias@aerifal.cx> | 2006-10-08 23:45:34 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2006-10-08 23:45:34 +0000 |
commit | 12cb31c57a432d1ee4cc4ed7715a0f49ea55f1d6 (patch) | |
tree | d1c590924caf5db8bc854c1a5f65abb3eb7a62f7 /dblbuf.c | |
parent | 916c3fb0040ff697e2abfe3791e89512499f8ccb (diff) |
100l: always repainting made it super-slow
Diffstat (limited to 'dblbuf.c')
-rw-r--r-- | dblbuf.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -128,7 +128,10 @@ void uudisp_refresh(struct uudisp *d, struct uuterm *t) int x1, x2, idx, y; if (!b->active) return; - if (b->repaint) for (idx=0; idx<h; idx++) b->slices[idx].y = -1; + if (b->repaint) { + for (idx=0; idx<h; idx++) b->slices[idx].y = -1; + b->repaint = 0; + } /* Clean up cursor first.. */ idx = t->rows[b->curs_y]->idx; |