From 16e4b3935904113bf21f0b9884b684008658e84a Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 1 Sep 2023 16:01:54 +0000 Subject: Clear combine flag when a non-UTF-8 set of characters is encountered. --- screen-write.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'screen-write.c') diff --git a/screen-write.c b/screen-write.c index 88ca77ae..f81fef04 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1792,6 +1792,8 @@ screen_write_collect_add(struct screen_write_ctx *ctx, u_int sx = screen_size_x(s); int collect; + ctx->flags &= ~SCREEN_WRITE_COMBINE; + /* * Don't need to check that the attributes and whatnot are still the * same - input_parse will end the collection when anything that isn't -- cgit v1.2.3