mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove Console.WriteLine(HandleControlC)
Ctrl-C works. If a command is running, it stops it and returns. If one is not running, it seems to "suspend" the readline until enter is pressed again.
This commit is contained in:
@@ -322,7 +322,6 @@ namespace Microsoft.Samples.PowerShell.Host
|
||||
/// ConsoleCancelEventHandler.</param>
|
||||
private void HandleControlC(object sender, ConsoleCancelEventArgs e)
|
||||
{
|
||||
Console.WriteLine("HandleControlC");
|
||||
try
|
||||
{
|
||||
lock (this.instanceLock)
|
||||
|
||||
Reference in New Issue
Block a user