Skip to content

Commit 3a9defc

Browse files
Fix printing of command with F5 (#1692)
Small regression: accidentally called `Write...Write` instead of `Write...WriteLine`.
1 parent b433b0f commit 3a9defc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Services/PowerShell/Host/PsesInternalHost.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ private string GetPrompt(CancellationToken cancellationToken)
684684
public void WriteWithPrompt(PSCommand command, CancellationToken cancellationToken)
685685
{
686686
UI.Write(GetPrompt(cancellationToken));
687-
UI.Write(command.GetInvocationText());
687+
UI.WriteLine(command.GetInvocationText());
688688
}
689689

690690
private string InvokeReadLine(CancellationToken cancellationToken)

0 commit comments

Comments
 (0)