summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-08-24 09:58:44 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-08-24 09:58:44 +0000
commit029c34ce6bc76168d06726bc81bda4514d245054 (patch)
tree6b2000a2e57a19c83017c357b953e8c67a3d74c7 /tty.c
parent47d41d0203894c6792caf7f71108e8c5a9086776 (diff)
Add a tty_bell wrapper function, from Dylan Alex Simon.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tty.c b/tty.c
index efd779a6..dce4887b 100644
--- a/tty.c
+++ b/tty.c
@@ -1546,3 +1546,9 @@ tty_try_88(struct tty *tty, u_char colour, const char *type)
tty_puts(tty, s);
return (0);
}
+
+void
+tty_bell(struct tty *tty)
+{
+ tty_putcode(tty, TTYC_BEL);
+}