diff --git a/Example/Program.cs b/Example/Program.cs index d414bb1e..01cc5ba1 100644 --- a/Example/Program.cs +++ b/Example/Program.cs @@ -112,10 +112,13 @@ namespace Example //ws.ConnectAsync (); Console.WriteLine ("\nType 'exit' to exit.\n"); + while (true) { Thread.Sleep (1000); Console.Write ("> "); + var msg = Console.ReadLine (); + if (msg == "exit") break;