summaryrefslogtreecommitdiffstats
path: root/alerts.c
diff options
context:
space:
mode:
authornicm <nicm>2015-09-02 17:43:25 +0000
committernicm <nicm>2015-09-02 17:43:25 +0000
commit38e3baab2a8f46d910ea5104b48d4c71480d4814 (patch)
tree20296acdce27cd5444342e48432a1521a0a2bf97 /alerts.c
parent8121127606e8c354daa4802177763d2b1f8df81d (diff)
A one line helper function is a little silly.
Diffstat (limited to 'alerts.c')
-rw-r--r--alerts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/alerts.c b/alerts.c
index cfdd30e3..5d52f7ad 100644
--- a/alerts.c
+++ b/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);
}
}