aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2017-06-28 06:45:31 +0000
committernicm <nicm>2017-06-28 06:45:31 +0000
commit1e376be13d3ed6bd850b15d0292d73d47ad07e94 (patch)
tree81796259850cf34a257edda73ecd0c6fcfd28466
parent95ed7d48c84198da0ec4b1b9b5de9358a47da753 (diff)
downloadrtmux-1e376be13d3ed6bd850b15d0292d73d47ad07e94.tar.gz
rtmux-1e376be13d3ed6bd850b15d0292d73d47ad07e94.tar.bz2
rtmux-1e376be13d3ed6bd850b15d0292d73d47ad07e94.zip
Fix visual-silence (check accidentally the wrong way round), from Brad
Town. Plus some tmux.1 fixes from jmc@.
-rw-r--r--alerts.c3
-rw-r--r--tmux.14
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: