diff options
author | jkh <jkh@FreeBSD.org> | 1999-12-17 02:46:04 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-12-17 02:46:04 +0000 |
commit | 38d1286e581917473f60cd947e43281e559fd94c (patch) | |
tree | bcf3f14373fab68c4b50c78d876b16c5865944cc /usr.sbin/sade/msg.c | |
parent | b2296f0762c91f487672db3080e56267b120707f (diff) | |
download | FreeBSD-src-38d1286e581917473f60cd947e43281e559fd94c.zip FreeBSD-src-38d1286e581917473f60cd947e43281e559fd94c.tar.gz |
In retrospect, msgNotify() should leave its contents on the screen
longer to give the user something to look at while things are happening.
Change it to do so and insert the appropriate screen saves elsewhere.
Diffstat (limited to 'usr.sbin/sade/msg.c')
-rw-r--r-- | usr.sbin/sade/msg.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/sade/msg.c b/usr.sbin/sade/msg.c index 3d7affe..499d705 100644 --- a/usr.sbin/sade/msg.c +++ b/usr.sbin/sade/msg.c @@ -206,7 +206,6 @@ msgNotify(char *fmt, ...) { va_list args; char *errstr; - WINDOW *w = savescr(); errstr = (char *)alloca(FILENAME_MAX); va_start(args, fmt); @@ -217,8 +216,6 @@ msgNotify(char *fmt, ...) if (isDebug()) msgDebug("Notify: %s\n", errstr); dialog_msgbox(NULL, errstr, -1, -1, 0); - sleep(1); - restorescr(w); } /* Put up a message in a popup yes/no box and return 1 for YES, 0 for NO */ @@ -310,6 +307,7 @@ msgWeHaveOutput(char *fmt, ...) use_helpfile(NULL); msgDebug("Notify: %s\n", errstr); dialog_clear_norefresh(); + sleep(2); dialog_msgbox(NULL, errstr, -1, -1, 0); restorescr(w); } |