rename input variable

This commit is contained in:
onyx-and-iris 2026-01-20 13:35:53 +00:00
parent 3d87f5c03f
commit 0e552873f0

View File

@ -96,9 +96,9 @@ function Start-VoicemeeterCLI {
) )
Write-Host "Connected to Voicemeeter. Type 'Q' to quit." -ForegroundColor Green Write-Host "Connected to Voicemeeter. Type 'Q' to quit." -ForegroundColor Green
while (($input = Read-Host "command") -ne 'Q') { while (($CommandFromInput = Read-Host 'command') -ne 'Q') {
try { try {
Invoke-VoicemeeterCLICommand -vmr $vmr -Command $input Invoke-VoicemeeterCLICommand -vmr $vmr -Command $CommandFromInput
} }
catch { catch {
Write-Host "Error: $_" -ForegroundColor Red Write-Host "Error: $_" -ForegroundColor Red