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

2206.
This commit is contained in:
nicm
2020-05-16 15:54:20 +00:00
parent 6ea6d46d0a
commit 472d77fd0f
7 changed files with 18 additions and 10 deletions

View File

@ -1110,7 +1110,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);
}