diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-08-24 09:58:44 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-08-24 09:58:44 +0000 |
commit | 029c34ce6bc76168d06726bc81bda4514d245054 (patch) | |
tree | 6b2000a2e57a19c83017c357b953e8c67a3d74c7 /tty.c | |
parent | 47d41d0203894c6792caf7f71108e8c5a9086776 (diff) |
Add a tty_bell wrapper function, from Dylan Alex Simon.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); +} |