We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6390ce7 commit 28617c6Copy full SHA for 28617c6
src/PowerShellEditorServices/Console/ConsoleService.cs
@@ -131,6 +131,10 @@ public void CancelReadLoop()
131
{
132
if (this.readLineCancellationToken != null)
133
134
+ // Set this to false so that Ctrl+C isn't trapped by any
135
+ // lingering ReadKey
136
+ Console.TreatControlCAsInput = false;
137
+
138
this.readLineCancellationToken.Cancel();
139
this.readLineCancellationToken = null;
140
}
0 commit comments