aboutsummaryrefslogtreecommitdiff
path: root/mode-tree.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-11 09:18:00 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-11 09:18:35 +0100
commitc489bf0a1e5d1ef7dfd886a95b638fa7bfa1fbe2 (patch)
tree668a4e9a80fdfa92bc99bcaa08faa9826fac328f /mode-tree.c
parent8502517d302363cf0d18c4aedf80a2761db24c1c (diff)
downloadrtmux-c489bf0a1e5d1ef7dfd886a95b638fa7bfa1fbe2.tar.gz
rtmux-c489bf0a1e5d1ef7dfd886a95b638fa7bfa1fbe2.tar.bz2
rtmux-c489bf0a1e5d1ef7dfd886a95b638fa7bfa1fbe2.zip
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 8a28be16..9ed2e102 100644
--- a/mode-tree.c
+++ b/mode-tree.c
@@ -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);
}