aboutsummaryrefslogtreecommitdiff
path: root/alerts.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-09-06 20:47:50 +0100
committerThomas Adam <thomas@xteddy.org>2015-09-06 20:47:50 +0100
commit76688d204071b76fd3388e46e944e4b917c09625 (patch)
treeb6c7920003106991bbb8db46a432e47b16429c94 /alerts.c
parent2ebef95994953e49ae84862a65f9ee649a72e200 (diff)
parentaceae73b9a401c0b124a3534079e9c0d998f0dbd (diff)
downloadrtmux-76688d204071b76fd3388e46e944e4b917c09625.tar.gz
rtmux-76688d204071b76fd3388e46e944e4b917c09625.tar.bz2
rtmux-76688d204071b76fd3388e46e944e4b917c09625.zip
Merge branch 'obsd-master'
Conflicts: cfg.c tmux.c
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);
}
}