mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Support embedded styles in the display-message message, GitHub issue
2206.
This commit is contained in:
8
alerts.c
8
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user