From e11cb301026154208cf92aa63df0b1543b3cd40e Mon Sep 17 00:00:00 2001 From: LoganDark Date: Tue, 11 May 2021 19:31:20 +0200 Subject: [PATCH] Wrap the download warning --- InstallWSL.psm1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/InstallWSL.psm1 b/InstallWSL.psm1 index ac96c11..04e033a 100644 --- a/InstallWSL.psm1 +++ b/InstallWSL.psm1 @@ -207,7 +207,11 @@ Workflow Install-WSL { } } - Write-Output "`n`n`n`n`n`n`n`n`n`nWarning: The PowerShell window will display the download process for longer than usual. This is a Windows bug, and is only visual.`n" + # This is so that the progress indicator doesn't obstruct the text + Write-Output "`n`n`n`n`n`n`n`n`n" + Write-Output 'Warning: The PowerShell window will display the download process for longer than' + Write-Output 'usual. This is a Windows bug, and is only visual.' + Write-Output '' $retrying = $True while ($retrying) {