From c489bf0a1e5d1ef7dfd886a95b638fa7bfa1fbe2 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 11 May 2020 09:18:00 +0100 Subject: Support embedded styles in the display-message message, GitHub issue 2206. --- alerts.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'alerts.c') diff --git a/alerts.c b/alerts.c index 6fe88a09..9675934a 100644 --- a/alerts.c +++ b/alerts.c @@ -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); + } } } -- cgit