From f9de6e942c437f08e341e81a1bfb965c89112787 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 30 Mar 2014 05:48:35 +0000 Subject: Use the curses beep function instead of writing a beep to stdout. --- hunt/hunt/playit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hunt') diff --git a/hunt/hunt/playit.c b/hunt/hunt/playit.c index 0b364e01..be0d5a21 100644 --- a/hunt/hunt/playit.c +++ b/hunt/hunt/playit.c @@ -1,4 +1,4 @@ -/* $NetBSD: playit.c,v 1.24 2014/03/30 05:44:55 dholland Exp $ */ +/* $NetBSD: playit.c,v 1.25 2014/03/30 05:48:35 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include #ifndef lint -__RCSID("$NetBSD: playit.c,v 1.24 2014/03/30 05:44:55 dholland Exp $"); +__RCSID("$NetBSD: playit.c,v 1.25 2014/03/30 05:48:35 dholland Exp $"); #endif /* not lint */ #include @@ -247,7 +247,7 @@ send_stuff(void) if (count <= 0) return; if (nchar_send <= 0 && !no_beep) { - (void) write(1, "\7", 1); /* CTRL('G') */ + (void) beep(); return; } -- cgit v1.2.3