From 63548f5cf352300a729e9d9f93db00bded6ad7d7 Mon Sep 17 00:00:00 2001 From: KITAGAWA Yasutaka Date: Tue, 18 Mar 2025 07:27:18 +0900 Subject: [PATCH] Fix widget powershell Clear current input before inserting navi's output. --- shell/navi.plugin.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/navi.plugin.ps1 b/shell/navi.plugin.ps1 index f31d74a..f79edf2 100644 --- a/shell/navi.plugin.ps1 +++ b/shell/navi.plugin.ps1 @@ -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