Fix widget powershell

Clear current input before inserting navi's output.
This commit is contained in:
KITAGAWA Yasutaka 2025-03-18 07:27:18 +09:00
parent 6f1bbcf666
commit 63548f5cf3
No known key found for this signature in database
GPG key ID: EF503E87E8731A87

View file

@ -42,6 +42,7 @@ $null = New-Module {
}
}
[Microsoft.PowerShell.PSConsoleReadLine]::RevertLine()
[Microsoft.PowerShell.PSConsoleReadLine]::InvokePrompt()
### Handling the case when the user escapes without selecting any entry