From 1e376be13d3ed6bd850b15d0292d73d47ad07e94 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 28 Jun 2017 06:45:31 +0000 Subject: Fix visual-silence (check accidentally the wrong way round), from Brad Town. Plus some tmux.1 fixes from jmc@. --- alerts.c | 3 +-- tmux.1 | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/alerts.c b/alerts.c index 6696369f..a489d444 100644 --- a/alerts.c +++ b/alerts.c @@ -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/tmux.1 b/tmux.1 index 8cf1628c..5ce71959 100644 --- a/tmux.1 +++ b/tmux.1 @@ -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: -- cgit