Tig Kindel %!s(int64=3) %!d(string=hai) anos
pai
achega
ccae60df93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);