mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
A one line helper function is a little silly.
This commit is contained in:
4
alerts.c
4
alerts.c
@ -174,7 +174,7 @@ alerts_check_bell(struct session *s, struct winlink *wl)
|
||||
(action == BELL_OTHER &&
|
||||
c->session->curw->window != w) ||
|
||||
action == BELL_ANY)
|
||||
tty_bell(&c->tty);
|
||||
tty_putcode(&c->tty, TTYC_BEL);
|
||||
continue;
|
||||
}
|
||||
if (action == BELL_CURRENT && c->session->curw->window == w)
|
||||
@ -258,6 +258,6 @@ alerts_ring_bell(struct session *s)
|
||||
|
||||
TAILQ_FOREACH(c, &clients, entry) {
|
||||
if (c->session == s && !(c->flags & CLIENT_CONTROL))
|
||||
tty_bell(&c->tty);
|
||||
tty_putcode(&c->tty, TTYC_BEL);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user