diff options
author | jkh <jkh@FreeBSD.org> | 1996-08-03 10:11:56 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-08-03 10:11:56 +0000 |
commit | ff8fc6b6643b6d7414e787636faa158fbc5916d5 (patch) | |
tree | 5079fda21ee24931ed7bd3546d7e784ac1e14a47 /usr.sbin/sysinstall/anonFTP.c | |
parent | 42aec86a1d99c456fa6c4a3d03ad515c6517444b (diff) | |
download | FreeBSD-src-ff8fc6b6643b6d7414e787636faa158fbc5916d5.zip FreeBSD-src-ff8fc6b6643b6d7414e787636faa158fbc5916d5.tar.gz |
Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
Diffstat (limited to 'usr.sbin/sysinstall/anonFTP.c')
-rw-r--r-- | usr.sbin/sysinstall/anonFTP.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/anonFTP.c b/usr.sbin/sysinstall/anonFTP.c index 591589f..92affb9 100644 --- a/usr.sbin/sysinstall/anonFTP.c +++ b/usr.sbin/sysinstall/anonFTP.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: anonFTP.c,v 1.13 1996/04/28 01:07:19 jkh Exp $ + * $Id: anonFTP.c,v 1.14 1996/04/28 03:26:42 jkh Exp $ * * Copyright (c) 1995 * Coranth Gryphon. All rights reserved. @@ -384,8 +384,7 @@ anonftpOpenDialog(void) } /* Clear this crap off the screen */ - dialog_clear(); - refresh(); + dialog_clear_norefresh(); use_helpfile(NULL); if (cancel) @@ -401,7 +400,7 @@ configAnonFTP(dialogMenuItem *self) /* Be optimistic */ i = DITEM_SUCCESS; - dialog_clear(); + dialog_clear_norefresh(); i = anonftpOpenDialog(); if (DITEM_STATUS(i) != DITEM_SUCCESS) { msgConfirm("Configuration of Anonymous FTP cancelled per user request."); |