diff options
author | jkh <jkh@FreeBSD.org> | 2001-03-23 08:26:43 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2001-03-23 08:26:43 +0000 |
commit | e0f3bf78f4a8546bd7c56562bad5c04ddc2a6243 (patch) | |
tree | 3c3fa6a7036a69e5fb21c0a8c33c2d8c0864638c /usr.sbin | |
parent | d3cb88445526b280f12e44d131808c5793f0c34b (diff) | |
download | FreeBSD-src-e0f3bf78f4a8546bd7c56562bad5c04ddc2a6243.zip FreeBSD-src-e0f3bf78f4a8546bd7c56562bad5c04ddc2a6243.tar.gz |
Make wizard mode get out of raw mode first before going interactive with
the user.
Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
PR: bin/24061
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/wizard.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/wizard.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/sade/wizard.c b/usr.sbin/sade/wizard.c index a42dc62..e499a27 100644 --- a/usr.sbin/sade/wizard.c +++ b/usr.sbin/sade/wizard.c @@ -70,6 +70,7 @@ slice_wizard(Disk *d) char **cp,*cmds[200]; int ncmd,i; + systemSuspendDialog(); sprintf(myprompt,"%s> ", d->name); while(1) { printf("--==##==--\n"); @@ -197,4 +198,5 @@ slice_wizard(Disk *d) printf("\n"); } + systemResumeDialog(); } diff --git a/usr.sbin/sysinstall/wizard.c b/usr.sbin/sysinstall/wizard.c index a42dc62..e499a27 100644 --- a/usr.sbin/sysinstall/wizard.c +++ b/usr.sbin/sysinstall/wizard.c @@ -70,6 +70,7 @@ slice_wizard(Disk *d) char **cp,*cmds[200]; int ncmd,i; + systemSuspendDialog(); sprintf(myprompt,"%s> ", d->name); while(1) { printf("--==##==--\n"); @@ -197,4 +198,5 @@ slice_wizard(Disk *d) printf("\n"); } + systemResumeDialog(); } |