Skip to content

Commit 0a69937

Browse files
committed
Enhance remoting comment
1 parent 905686c commit 0a69937

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@ private string GetPrompt(CancellationToken cancellationToken)
543543
if (CurrentRunspace.RunspaceOrigin != RunspaceOrigin.Local)
544544
{
545545
// This is a PowerShell-internal method that we reuse to decorate the prompt string
546-
// with the remote details when execution is occurring over a remoting session
546+
// with the remote details when remoting,
547+
// so the prompt changes to indicate when you're in a remote session
547548
prompt = Runspace.GetRemotePrompt(prompt);
548549
}
549550

0 commit comments

Comments
 (0)