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