1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-08 13:28:05 +00:00

Add a couple of strategic screen clears.

This commit is contained in:
Jordan K. Hubbard 1997-06-20 07:04:16 +00:00
parent f2d0ae8518
commit 2588c3547d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26749
3 changed files with 12 additions and 3 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: install.c,v 1.188 1997/06/13 07:11:54 jkh Exp $
* $Id: install.c,v 1.189 1997/06/18 05:11:36 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -447,6 +447,7 @@ installExpress(dialogMenuItem *self)
if (DITEM_STATUS((i = diskLabelEditor(self))) == DITEM_FAILURE)
return i;
dialog_clear_norefresh();
if (DITEM_STATUS((i = installCommit(self))) == DITEM_SUCCESS) {
i |= DITEM_LEAVE_MENU;
/* Give user the option of one last configuration spree */
@ -484,6 +485,7 @@ installNovice(dialogMenuItem *self)
if (DITEM_STATUS(diskLabelEditor(self)) == DITEM_FAILURE)
return DITEM_FAILURE;
dialog_clear_norefresh();
if (DITEM_STATUS((i = installCommit(self))) == DITEM_FAILURE) {
dialog_clear_norefresh();
msgConfirm("Installation completed with some errors. You may wish to\n"
@ -625,6 +627,7 @@ installCustomCommit(dialogMenuItem *self)
{
int i;
dialog_clear_norefresh();
i = installCommit(self);
if (DITEM_STATUS(i) == DITEM_SUCCESS) {
/* Give user the option of one last configuration spree */

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: install.c,v 1.188 1997/06/13 07:11:54 jkh Exp $
* $Id: install.c,v 1.189 1997/06/18 05:11:36 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -447,6 +447,7 @@ installExpress(dialogMenuItem *self)
if (DITEM_STATUS((i = diskLabelEditor(self))) == DITEM_FAILURE)
return i;
dialog_clear_norefresh();
if (DITEM_STATUS((i = installCommit(self))) == DITEM_SUCCESS) {
i |= DITEM_LEAVE_MENU;
/* Give user the option of one last configuration spree */
@ -484,6 +485,7 @@ installNovice(dialogMenuItem *self)
if (DITEM_STATUS(diskLabelEditor(self)) == DITEM_FAILURE)
return DITEM_FAILURE;
dialog_clear_norefresh();
if (DITEM_STATUS((i = installCommit(self))) == DITEM_FAILURE) {
dialog_clear_norefresh();
msgConfirm("Installation completed with some errors. You may wish to\n"
@ -625,6 +627,7 @@ installCustomCommit(dialogMenuItem *self)
{
int i;
dialog_clear_norefresh();
i = installCommit(self);
if (DITEM_STATUS(i) == DITEM_SUCCESS) {
/* Give user the option of one last configuration spree */

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: install.c,v 1.188 1997/06/13 07:11:54 jkh Exp $
* $Id: install.c,v 1.189 1997/06/18 05:11:36 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -447,6 +447,7 @@ installExpress(dialogMenuItem *self)
if (DITEM_STATUS((i = diskLabelEditor(self))) == DITEM_FAILURE)
return i;
dialog_clear_norefresh();
if (DITEM_STATUS((i = installCommit(self))) == DITEM_SUCCESS) {
i |= DITEM_LEAVE_MENU;
/* Give user the option of one last configuration spree */
@ -484,6 +485,7 @@ installNovice(dialogMenuItem *self)
if (DITEM_STATUS(diskLabelEditor(self)) == DITEM_FAILURE)
return DITEM_FAILURE;
dialog_clear_norefresh();
if (DITEM_STATUS((i = installCommit(self))) == DITEM_FAILURE) {
dialog_clear_norefresh();
msgConfirm("Installation completed with some errors. You may wish to\n"
@ -625,6 +627,7 @@ installCustomCommit(dialogMenuItem *self)
{
int i;
dialog_clear_norefresh();
i = installCommit(self);
if (DITEM_STATUS(i) == DITEM_SUCCESS) {
/* Give user the option of one last configuration spree */