summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authornicm <nicm>2023-09-01 16:01:54 +0000
committernicm <nicm>2023-09-01 16:01:54 +0000
commit16e4b3935904113bf21f0b9884b684008658e84a (patch)
treedbf670ae8b4d02f184eb46b0d1b4fb6427c47348 /screen-write.c
parent9456258ccc03a1a959cfb7d020011d751b39bb1b (diff)
Clear combine flag when a non-UTF-8 set of characters is encountered.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c2
1 files changed, 2 insertions, 0 deletions
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