diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-28 06:45:32 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-28 06:45:32 +0000 |
commit | d41ea408b20369ab7beb3de9ba56aacfdf088bff (patch) | |
tree | d219dd5aafda0ad751d599a1cf7ea6c691044c6f /usr.bin/tmux | |
parent | 929814b180026065c9b43ea2b5d289e1116b07c2 (diff) |
Fix visual-silence (check accidentally the wrong way round), from Brad
Town. Plus some tmux.1 fixes from jmc@.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/alerts.c | 5 | ||||
-rw-r--r-- | usr.bin/tmux/tmux.1 | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/usr.bin/tmux/alerts.c b/usr.bin/tmux/alerts.c index 39a538e6044..c950603d6c3 100644 --- a/usr.bin/tmux/alerts.c +++ b/usr.bin/tmux/alerts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alerts.c,v 1.19 2017/04/28 19:13:55 nicm Exp $ */ +/* $OpenBSD: alerts.c,v 1.20 2017/06/28 06:45:31 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -285,8 +285,7 @@ alerts_check_silence(struct window *w) if (options_get_number(s->options, "bell-on-alert")) alerts_ring_bell(s); - - if (!options_get_number(s->options, "visual-silence")) + if (options_get_number(s->options, "visual-silence")) alerts_set_message(s, "Silence in window %d", wl->idx); } diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 157ef0c110b..cc7b9acfa63 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.563 2017/06/23 15:36:52 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.564 2017/06/28 06:45:31 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 23 2017 $ +.Dd $Mdocdate: June 28 2017 $ .Dt TMUX 1 .Os .Sh NAME @@ -2866,8 +2866,8 @@ command). .It Ic user-keys[] Ar key Set list of user-defined key escape sequences. Each item is associated with a key named -.Ql User0, -.Ql User1, +.Ql User0 , +.Ql User1 , and so on. .Pp For example: |