Tig Kindel 3 年之前
父节点
当前提交
ccae60df93
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Windows/Dialog.cs

+ 1 - 1
Terminal.Gui/Windows/Dialog.cs

@@ -226,7 +226,7 @@ namespace Terminal.Gui {
 		{
 			switch (kb.Key) {
 			case Key.Esc:
-				Running = false;
+				Application.RequestStop (this);
 				return true;
 			}
 			return base.ProcessKey (kb);