mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
Fix visual-silence (check accidentally the wrong way round), from Brad
Town. Plus some tmux.1 fixes from jmc@.
This commit is contained in:
3
alerts.c
3
alerts.c
@ -285,8 +285,7 @@ alerts_check_silence(struct window *w)
|
|||||||
|
|
||||||
if (options_get_number(s->options, "bell-on-alert"))
|
if (options_get_number(s->options, "bell-on-alert"))
|
||||||
alerts_ring_bell(s);
|
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);
|
alerts_set_message(s, "Silence in window %d", wl->idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user