From 7ed792b0dca8b6cb41bbdd0a2c121de8b2198815 Mon Sep 17 00:00:00 2001 From: LoganDark Date: Thu, 13 May 2021 15:46:29 +0200 Subject: [PATCH] Clear screen completely for the result pages --- install-wsl.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-wsl.psm1 b/install-wsl.psm1 index 5c0d3d7..f34f991 100644 --- a/install-wsl.psm1 +++ b/install-wsl.psm1 @@ -507,7 +507,7 @@ function Install-WSLInteractive { $Menu = 'exit' } 'result-restart-needed' { - Write-Host '' + Clear-Host Write-Host ' !! WSL installation will resume once you restart Windows' Write-Host '' Write-Host ' Please ensure you stay connected to the Internet.' @@ -517,7 +517,7 @@ function Install-WSLInteractive { $Menu = 'exit' } 'result-done' { - Write-Host '' + Clear-Host Write-Host ' :: Installation done!' Write-Host '' Write-Host ' The WSL feature was already installed and enabled on your system, so we were'