From 0f65ab6862057409fd18027c02149bcbe7f149d0 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Fri, 28 Jul 2006 07:28:27 +0000 Subject: [PATCH] Comments for flash(). I should probably also note that this is significantly slower than the old version (where the old version was implemented at all), but the slowness only shows up on an extremely show machine, like an XT. --- pdcurses/beep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pdcurses/beep.c b/pdcurses/beep.c index a8256c0a..201137d4 100644 --- a/pdcurses/beep.c +++ b/pdcurses/beep.c @@ -27,7 +27,7 @@ # undef wrefresh #endif -RCSID("$Id: beep.c,v 1.21 2006/07/15 20:46:23 wmcbrine Exp $"); +RCSID("$Id: beep.c,v 1.22 2006/07/28 07:28:27 wmcbrine Exp $"); /*man-start************************************************************** @@ -77,6 +77,8 @@ int flash(void) PDC_LOG(("flash() - called\n")); + /* Reverse each cell; wait; restore the screen */ + for (z = 0; z < 2; z++) { for (y = 0; y < LINES; y++)