Example #1
0
func Beep() os.Error {
	if C.beep() == C.ERR {
		return CursesError{"beep failed"}
	}
	return nil
}
Example #2
0
// Beep requests the terminal make an audible bell or, if not available,
// flashes the screen. Note that screen flashing doesn't work on all
// terminals
func Beep() {
	C.beep()
}