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:
Andrew Schwartzmeyer
2015-10-16 17:02:59 -07:00
parent 06ea0b50c8
commit 1c067b2017
-1
View File
@@ -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)