Clear combine flag when a non-UTF-8 set of characters is encountered.

pull/3709/head
nicm 2023-09-01 16:01:54 +00:00
parent 9456258ccc
commit 16e4b39359
1 changed files with 2 additions and 0 deletions

View File

@ -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