diff options
author | 2020-07-27 08:03:10 +0000 | |
---|---|---|
committer | 2020-07-27 08:03:10 +0000 | |
commit | 247fdabff8519f7d585994f6c13c3381b7ef3241 (patch) | |
tree | a00cdd8389647e771bd50951762373377326b2ca /usr.bin/tmux/window-customize.c | |
parent | trim trailing whitespace in if_iwn.c (diff) | |
download | wireguard-openbsd-247fdabff8519f7d585994f6c13c3381b7ef3241.tar.xz wireguard-openbsd-247fdabff8519f7d585994f6c13c3381b7ef3241.zip |
Add a -d option to display-message to set delay, from theonekeyg at
gmail dot com in GitHub issue 2322.
Diffstat (limited to 'usr.bin/tmux/window-customize.c')
-rw-r--r-- | usr.bin/tmux/window-customize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/window-customize.c b/usr.bin/tmux/window-customize.c index 51750e1489d..bdd2a40bb15 100644 --- a/usr.bin/tmux/window-customize.c +++ b/usr.bin/tmux/window-customize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-customize.c,v 1.5 2020/07/23 14:17:56 nicm Exp $ */ +/* $OpenBSD: window-customize.c,v 1.6 2020/07/27 08:03:10 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1003,7 +1003,7 @@ window_customize_set_option_callback(struct client *c, void *itemdata, fail: *cause = toupper((u_char)*cause); - status_message_set(c, 1, "%s", cause); + status_message_set(c, -1, 1, "%s", cause); free(cause); return (0); } @@ -1209,7 +1209,7 @@ window_customize_set_command_callback(struct client *c, void *itemdata, fail: *error = toupper((u_char)*error); - status_message_set(c, 1, "%s", error); + status_message_set(c, -1, 1, "%s", error); free(error); return (0); } |