diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-18 08:39:19 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-18 08:39:19 +0000 |
commit | bf606e345ea5c42317d748407876697d1d2d981e (patch) | |
tree | c49ff47f4c43691115584c19642079a402e635f3 /usr.bin | |
parent | a74fa2376ddc39279a1606ff23939f7fdf110b8b (diff) |
Zero dirty count after flushing.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/screen-write.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c index 81d33ce5c7d..ca86479e07b 100644 --- a/usr.bin/tmux/screen-write.c +++ b/usr.bin/tmux/screen-write.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen-write.c,v 1.99 2016/10/13 20:27:27 nicm Exp $ */ +/* $OpenBSD: screen-write.c,v 1.100 2016/10/18 08:39:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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; |