瀏覽代碼

fixed one other case

Tig 8 月之前
父節點
當前提交
344e55bc5d
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Terminal.Gui/Application/Application.Screen.cs
  2. 1 1
      Terminal.Gui/View/View.Layout.cs

+ 1 - 1
Terminal.Gui/Application/Application.Screen.cs

@@ -75,5 +75,5 @@ public static partial class Application // Screen related stuff
     ///     This is typicall set to true when a View's <see cref="View.Frame"/> changes and that view has no
     ///     SuperView (e.g. when <see cref="Application.Top"/> is moved or resized.
     /// </remarks>
-    public static bool ClearScreenNextIteratio { get; set; }
+    public static bool ClearScreenNextIteration { get; set; }
 }

+ 1 - 1
Terminal.Gui/View/View.Layout.cs

@@ -563,7 +563,7 @@ public partial class View // Layout APIs
             }
             else
             {
-              //  Application.ClearScreenNextIteration = true;
+                Application.ClearScreenNextIteration = true;
             }
         }