Tig Kindel 3 anos atrás
pai
commit
ccae60df93
1 arquivos alterados com 1 adições e 1 exclusões
  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);