Hi, "bell-action none" works like "bell-action current" now. "BELL_NONE" has not been taken into account in the server_window_check_bell.
I attach a patch. diff --git a/server-window.c b/server-window.c index 7220320..87efd6b 100644 --- a/server-window.c +++ b/server-window.c @@ -81,19 +81,21 @@ server_window_check_bell(struct session *s, struct winlink *wl) visual = options_get_number(&s->options, "visual-bell"); action = options_get_number(&s->options, "bell-action"); - for (i = 0; i < ARRAY_LENGTH(&clients); i++) { - c = ARRAY_ITEM(&clients, i); - if (c == NULL || c->session != s) - continue; - if (!visual) { - tty_bell(&c->tty); - continue; - } - if (c->session->curw->window == w) - status_message_set(c, "Bell in current window"); - else if (action == BELL_ANY) { - status_message_set(c, "Bell in window %u", - winlink_find_by_window(&s->windows, w)->idx); + if (action != BELL_NONE) { + for (i = 0; i < ARRAY_LENGTH(&clients); i++) { + c = ARRAY_ITEM(&clients, i); + if (c == NULL || c->session != s) + continue; + if (!visual) { + tty_bell(&c->tty); + continue; + } + if (c->session->curw->window == w) + status_message_set(c, "Bell in current window"); + else if (action == BELL_ANY) { + status_message_set(c, "Bell in window %u", + winlink_find_by_window(&s->windows, w)->idx); + } } } ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users