diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-11 09:18:00 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-11 09:18:35 +0100 |
commit | c489bf0a1e5d1ef7dfd886a95b638fa7bfa1fbe2 (patch) | |
tree | 668a4e9a80fdfa92bc99bcaa08faa9826fac328f /alerts.c | |
parent | 8502517d302363cf0d18c4aedf80a2761db24c1c (diff) | |
download | rtmux-c489bf0a1e5d1ef7dfd886a95b638fa7bfa1fbe2.tar.gz rtmux-c489bf0a1e5d1ef7dfd886a95b638fa7bfa1fbe2.tar.bz2 rtmux-c489bf0a1e5d1ef7dfd886a95b638fa7bfa1fbe2.zip |
Support embedded styles in the display-message message, GitHub issue 2206.
Diffstat (limited to 'alerts.c')
-rw-r--r-- | alerts.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -316,8 +316,10 @@ alerts_set_message(struct winlink *wl, const char *type, const char *option) if (visual == VISUAL_OFF) continue; if (c->session->curw == wl) - status_message_set(c, "%s in current window", type); - else - status_message_set(c, "%s in window %d", type, wl->idx); + status_message_set(c, 1, "%s in current window", type); + else { + status_message_set(c, 1, "%s in window %d", type, + wl->idx); + } } } |