summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/server-window.c')
-rw-r--r--usr.bin/tmux/server-window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/server-window.c b/usr.bin/tmux/server-window.c
index d89e0d482e8..4ae2685301b 100644
--- a/usr.bin/tmux/server-window.c
+++ b/usr.bin/tmux/server-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-window.c,v 1.21 2011/07/03 19:07:54 nicm Exp $ */
+/* $OpenBSD: server-window.c,v 1.22 2011/08/24 09:58:44 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -86,7 +86,7 @@ server_window_check_bell(struct session *s, struct winlink *wl)
if (c == NULL || c->session != s)
continue;
if (!visual) {
- tty_putcode(&c->tty, TTYC_BEL);
+ tty_bell(&c->tty);
continue;
}
if (c->session->curw->window == w) {
@@ -108,7 +108,7 @@ server_window_check_bell(struct session *s, struct winlink *wl)
if (c->session->curw->window != w)
continue;
if (!visual) {
- tty_putcode(&c->tty, TTYC_BEL);
+ tty_bell(&c->tty);
continue;
}
status_message_set(c, "Bell in current window");
@@ -254,6 +254,6 @@ ring_bell(struct session *s)
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
c = ARRAY_ITEM(&clients, i);
if (c != NULL && c->session == s)
- tty_putcode(&c->tty, TTYC_BEL);
+ tty_bell(&c->tty);
}
}