first character of message window special outside putmixed

Issue #1042 states the following:
> Steps to reproduce:
> *name pet so that first (or only) character is non-ascii: example Ä or emoji.
> Most of the time the name is correctly shown.
> If new row starts with pet's name then character is not printed correctly.

The kludge for handling mixed glyphs and text shouldn't have been engaging
the special handling of the first character for anything outside of putmixed().
This should resolve that.
This commit is contained in:
nhmall
2023-05-31 00:10:22 -04:00
parent dea25c73c2
commit f3ad23fce2
3 changed files with 6 additions and 1 deletions

View File

@@ -103,6 +103,7 @@ struct DisplayDesc {
winid lastwin; /* last window used for I/O */
char dismiss_more; /* extra character accepted at --More-- */
int topl_utf8; /* non-zero if utf8 in str */
int mixed; /* we are processing mixed output */
};
#endif /* WINDOW_STRUCTS */