diff --git a/NewLife.Agent/ServiceBase.cs b/NewLife.Agent/ServiceBase.cs index 385b0ee..209e226 100644 --- a/NewLife.Agent/ServiceBase.cs +++ b/NewLife.Agent/ServiceBase.cs @@ -186,13 +186,13 @@ protected virtual void ProcessMenu() //输出菜单 ShowMenu(); Console.Write("请输入命令序号:"); + Console.WriteLine(); //读取命令 var key = Console.ReadKey(); - if (key.KeyChar == '0') break; - Console.WriteLine(); Console.WriteLine(); + if (key.KeyChar == '0') break; try { var result = Command.Handle(key.KeyChar, args);