mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
installer: Clear screen upon exit.
* gnu/installer/newt.scm (exit): Call clear-screen after newt-finish, (exit-error): ditto.
This commit is contained in:
parent
bf304dbcea
commit
df3664f1ec
1 changed files with 4 additions and 2 deletions
|
@ -47,7 +47,8 @@ (define (init)
|
||||||
(set-screen-size!))
|
(set-screen-size!))
|
||||||
|
|
||||||
(define (exit)
|
(define (exit)
|
||||||
(newt-finish))
|
(newt-finish)
|
||||||
|
(clear-screen))
|
||||||
|
|
||||||
(define (exit-error file key args)
|
(define (exit-error file key args)
|
||||||
(newt-set-color COLORSET-ROOT "white" "red")
|
(newt-set-color COLORSET-ROOT "white" "red")
|
||||||
|
@ -66,7 +67,8 @@ (define (exit-error file key args)
|
||||||
#:file-textbox-width width
|
#:file-textbox-width width
|
||||||
#:file-textbox-height height))
|
#:file-textbox-height height))
|
||||||
(newt-set-color COLORSET-ROOT "white" "blue")
|
(newt-set-color COLORSET-ROOT "white" "blue")
|
||||||
(newt-finish))
|
(newt-finish)
|
||||||
|
(clear-screen))
|
||||||
|
|
||||||
(define (final-page result prev-steps)
|
(define (final-page result prev-steps)
|
||||||
(run-final-page result prev-steps))
|
(run-final-page result prev-steps))
|
||||||
|
|
Loading…
Reference in a new issue