|
42 | 42 | [switch]$showVersion |
43 | 43 | ) |
44 | 44 |
|
45 | | -$VERSION = "1.0.0-beta3-build3" |
46 | | -if ($VERSION -eq "1.0.0-beta3-build3") { |
| 45 | +$VERSION = "1.0.0-beta3-build4" |
| 46 | +if ($VERSION -eq "1.0.0-beta3-build4") { |
47 | 47 | $scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path |
48 | 48 | $versionFile = Join-Path $scriptDir "..\VERSION" |
49 | 49 | if (Test-Path $versionFile) { |
@@ -232,7 +232,7 @@ function Select-Language { |
232 | 232 | $totalLines = $numLangs + 3 |
233 | 233 | for ($i = 0; $i -lt $totalLines; $i++) { |
234 | 234 | [Console]::SetCursorPosition(0, $startRow + $i) |
235 | | - Write-Host (" " * [Console]::WindowWidth) -NoNewline |
| 235 | + [Console]::Write("`r{0}" -f (" " * [Console]::WindowWidth)) |
236 | 236 | } |
237 | 237 | [Console]::SetCursorPosition(0, $startRow) |
238 | 238 | return $langKeys[$cursor] |
@@ -1970,7 +1970,7 @@ function Show-ProfileMenu { |
1970 | 1970 | # Clear menu area |
1971 | 1971 | for ($i = 0; $i -lt $numProfiles; $i++) { |
1972 | 1972 | [Console]::SetCursorPosition(0, $startRow + $i) |
1973 | | - Write-Host (" " * [Console]::WindowWidth) -NoNewline |
| 1973 | + [Console]::Write("`r{0}" -f (" " * [Console]::WindowWidth)) |
1974 | 1974 | } |
1975 | 1975 | [Console]::SetCursorPosition(0, $startRow) |
1976 | 1976 |
|
@@ -2161,7 +2161,7 @@ $running = $false |
2161 | 2161 | $totalLines = $numItems + 3 |
2162 | 2162 | for ($i = 0; $i -lt $totalLines; $i++) { |
2163 | 2163 | [Console]::SetCursorPosition(0, $startRow + $i) |
2164 | | -Write-Host (" " * [Console]::WindowWidth) -NoNewline |
| 2164 | +[Console]::Write("`r{0}" -f (" " * [Console]::WindowWidth)) |
2165 | 2165 | } |
2166 | 2166 | [Console]::SetCursorPosition(0, $startRow) |
2167 | 2167 |
|
|
0 commit comments