mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +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:
1 parent
06ea0b50c8
commit
1c067b2017
1 file changed
-1
@@ -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