mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-01-24 17:27:48 +00:00
fix interactive prompt
This commit is contained in:
parent
aaa4672cbc
commit
3d87f5c03f
@ -95,8 +95,8 @@ function Start-VoicemeeterCLI {
|
||||
[object]$vmr
|
||||
)
|
||||
|
||||
Write-Host "Voicemeeter CLI Interactive Mode. Type 'exit' to quit."
|
||||
while (($input = Read-Host "Press Enter to rotate buses or type 'Q' to quit.") -ne 'Q') {
|
||||
Write-Host "Connected to Voicemeeter. Type 'Q' to quit." -ForegroundColor Green
|
||||
while (($input = Read-Host "command") -ne 'Q') {
|
||||
try {
|
||||
Invoke-VoicemeeterCLICommand -vmr $vmr -Command $input
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user