From b4a5c854c8b597340cb349ba9d2fe59c2f4a652a Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 9 Mar 2017 16:51:00 -0500 Subject: [PATCH] hacker commands print the prompt when done --- ShiftOS.WinForms/HackerCommands.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ShiftOS.WinForms/HackerCommands.cs b/ShiftOS.WinForms/HackerCommands.cs index b2170cd..52d8568 100644 --- a/ShiftOS.WinForms/HackerCommands.cs +++ b/ShiftOS.WinForms/HackerCommands.cs @@ -386,12 +386,14 @@ namespace ShiftOS.WinForms Console.WriteLine("--password breached. Operation took " + sw.ElapsedMilliseconds + " milliseconds."); received = true; ServerManager.MessageReceived -= msgReceived; + TerminalBackend.PrintPrompt(); } else if(msg.Name == "user_data_not_found") { Console.WriteLine("--access denied."); received = true; ServerManager.MessageReceived -= msgReceived; + TerminalBackend.PrintPrompt(); } }; @@ -443,6 +445,7 @@ namespace ShiftOS.WinForms } received = true; ServerManager.MessageReceived -= msgReceived; + TerminalBackend.PrintPrompt(); } else if (msg.Name == "user_data_not_found") @@ -450,6 +453,7 @@ namespace ShiftOS.WinForms Console.WriteLine("--access denied."); received = true; ServerManager.MessageReceived -= msgReceived; + TerminalBackend.PrintPrompt(); } }; @@ -514,12 +518,14 @@ namespace ShiftOS.WinForms } received = true; ServerManager.MessageReceived -= msgReceived; + TerminalBackend.PrintPrompt(); } else if (msg.Name == "user_data_not_found") { Console.WriteLine("--access denied."); received = true; ServerManager.MessageReceived -= msgReceived; + TerminalBackend.PrintPrompt(); } }; @@ -573,6 +579,7 @@ namespace ShiftOS.WinForms Console.WriteLine("--access denied."); ServerManager.MessageReceived -= msgReceived; } + TerminalBackend.PrintPrompt(); }; Console.WriteLine("--contacting multi-user domain...");