Add a -d option to display-message to set delay, from theonekeyg at

gmail dot com in GitHub issue 2322.
This commit is contained in:
nicm
2020-07-27 08:03:10 +00:00
parent d329b035ce
commit 40e65c5115
9 changed files with 39 additions and 16 deletions

View File

@ -316,9 +316,9 @@ 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, 1, "%s in current window", type);
status_message_set(c, -1, 1, "%s in current window", type);
else {
status_message_set(c, 1, "%s in window %d", type,
status_message_set(c, -1, 1, "%s in window %d", type,
wl->idx);
}
}