diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-01-27 12:01:21 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-01-27 12:01:21 +0000 |
commit | ffc159a456d7c5e477f9e64df2fd81beaae608d0 (patch) | |
tree | e819edb9a5bb26507cfe7df9a3718ca8ca942681 | |
parent | 70a6af62874ffe1226ab8640b8214f0713513a84 (diff) | |
parent | 8156d9ba416c28d76b445e5c74537c254a3bc110 (diff) | |
download | rtmux-ffc159a456d7c5e477f9e64df2fd81beaae608d0.tar.gz rtmux-ffc159a456d7c5e477f9e64df2fd81beaae608d0.tar.bz2 rtmux-ffc159a456d7c5e477f9e64df2fd81beaae608d0.zip |
Merge branch 'obsd-master' into master
-rw-r--r-- | screen-write.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/screen-write.c b/screen-write.c index f374630c..4811b0a1 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1970,6 +1970,8 @@ screen_write_alternateon(struct screen_write_ctx *ctx, struct grid_cell *gc, if (wp != NULL && !options_get_number(wp->options, "alternate-screen")) return; + + screen_write_collect_flush(ctx, 0, __func__); screen_alternate_on(ctx->s, gc, cursor); screen_write_initctx(ctx, &ttyctx, 1); @@ -1986,6 +1988,8 @@ screen_write_alternateoff(struct screen_write_ctx *ctx, struct grid_cell *gc, if (wp != NULL && !options_get_number(wp->options, "alternate-screen")) return; + + screen_write_collect_flush(ctx, 0, __func__); screen_alternate_off(ctx->s, gc, cursor); screen_write_initctx(ctx, &ttyctx, 1); |