From 38a306dfc1ea005a0daf36730a7c4d572e978fea Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 15 Feb 2022 21:21:18 +0900 Subject: [PATCH] [Modify] Polish it --- Example/Program.cs | 3 +++ 1 file changed, 3 insertions(+) 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;