summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-18 08:39:18 +0000
committernicm <nicm>2016-10-18 08:39:18 +0000
commit8763bced7678b97fe4a55d03c50f168418ff5f13 (patch)
tree1ea264b61c5557ce8718f0bdc168af48d1a017b9 /screen-write.c
parentc2f88373e76b8c62ac2e2baed6bc1f0f20036401 (diff)
Zero dirty count after flushing.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/screen-write.c b/screen-write.c
index 95caabce..d5fc1dee 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -130,6 +130,7 @@ screen_write_flush(struct screen_write_ctx *ctx)
if (dirty == ctx->dirty)
break;
}
+ ctx->dirty = 0;
s->cx = cx;
s->cy = cy;