minix/lib/libcurses/beep.c

14 lines
187 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <curses.h>
#include <termcap.h>
extern char *bl, *vb;
/* Beep() sounds the terminal bell. */
void beep()
{
if (bl)
tputs(bl, 1, outc);
else if (vb)
tputs(vb, 1, outc);
}