diff options
author | 2016-10-18 08:39:18 +0000 | |
---|---|---|
committer | 2016-10-18 08:39:18 +0000 | |
commit | e0ef19141eb0b719f60f21bfcfd169a6a3e5fa8a (patch) | |
tree | 11582f4db7e84b1a5f9de62ca7dbdef8bf250291 | |
parent | Store the right size in the pipe offset for pipe-pane. (diff) | |
download | wireguard-openbsd-e0ef19141eb0b719f60f21bfcfd169a6a3e5fa8a.tar.xz wireguard-openbsd-e0ef19141eb0b719f60f21bfcfd169a6a3e5fa8a.zip |
Zero dirty count after flushing.
-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; |