Support embedded styles in the display-message message, GitHub issue 2206.

This commit is contained in:
Nicholas Marriott
2020-05-11 09:18:00 +01:00
parent 8502517d30
commit c489bf0a1e
8 changed files with 19 additions and 11 deletions

View File

@ -1139,7 +1139,7 @@ mode_tree_run_command(struct client *c, struct cmd_find_state *fs,
if (status == CMD_PARSE_ERROR) {
if (c != NULL) {
*error = toupper((u_char)*error);
status_message_set(c, "%s", error);
status_message_set(c, 1, "%s", error);
}
free(error);
}