Skip to content

Commit 16fa1d0

Browse files
same for prompt
1 parent 4004236 commit 16fa1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Services/PowerShellContext/Session/Host/EditorServicesPSHostUserInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ private async Task WritePromptStringToHostAsync(CancellationToken cancellationTo
729729
{
730730
}
731731

732-
PSCommand promptCommand = new PSCommand().AddScript("prompt");
732+
PSCommand promptCommand = new PSCommand().AddCommand("prompt");
733733

734734
cancellationToken.ThrowIfCancellationRequested();
735735
string promptString =

0 commit comments

Comments
 (0)