summaryrefslogtreecommitdiffstats
path: root/mode-tree.c
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 15:54:20 +0000
committernicm <nicm>2020-05-16 15:54:20 +0000
commit472d77fd0f4af8431267473df3cf109030760fa1 (patch)
tree530d3b42bf1409311fe085b3d9904108189a328f /mode-tree.c
parent6ea6d46d0a1b206ece54a05af4f3fe7a3d6fe4cc (diff)
Support embedded styles in the display-message message, GitHub issue
2206.
Diffstat (limited to 'mode-tree.c')
-rw-r--r--mode-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mode-tree.c b/mode-tree.c
index c08c802d..b3b3f335 100644
--- a/mode-tree.c
+++ b/mode-tree.c
@@ -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);
}