diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 1999-09-30 03:24:33 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 1999-09-30 03:24:33 +0000 |
commit | 919a0963c89dcaea29f0907eec12a89340e2ef63 (patch) | |
tree | 470f08b2b98a1dfdfc2b8ad704c57cd414accbc9 /games | |
parent | b441e4909c253ad60b7d814cd69060b4a438e919 (diff) |
better use of curses
Diffstat (limited to 'games')
-rw-r--r-- | games/mille/misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/mille/misc.c b/games/mille/misc.c index 8a6f8f2e814..6b3f7aae583 100644 --- a/games/mille/misc.c +++ b/games/mille/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.4 1999/09/25 15:52:20 pjanzen Exp $ */ +/* $OpenBSD: misc.c,v 1.5 1999/09/30 03:24:32 pjanzen Exp $ */ /* $NetBSD: misc.c,v 1.4 1995/03/24 05:01:54 cgd Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: misc.c,v 1.4 1999/09/25 15:52:20 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: misc.c,v 1.5 1999/09/30 03:24:32 pjanzen Exp $"; #endif #endif /* not lint */ @@ -77,8 +77,8 @@ error(str, arg) #endif wmove(Score, ERR_Y, ERR_X); vwprintw(Score, str, ap); - clrtoeol(); - putchar('\07'); + wclrtoeol(Score); + beep(); refresh(); va_end(ap); return FALSE; |