浏览代码

Renamed ConsoleDriver.Viewport, Screen

Tig 1 年之前
父节点
当前提交
6f15dd9bb3
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Terminal.Gui/ConsoleDrivers/ConsoleDriver.cs

+ 2 - 2
Terminal.Gui/ConsoleDrivers/ConsoleDriver.cs

@@ -18,8 +18,8 @@ public abstract class ConsoleDriver
     // This is in addition to the dirty flag on each cell.
     internal bool [] _dirtyLines;
 
-    /// <summary>Gets the dimensions of the terminal.</summary>
-    public Rectangle Viewport => new (0, 0, Cols, Rows);
+    /// <summary>Gets the location and size of the terminal screen.</summary>
+    public Rectangle Screen => new (0, 0, Cols, Rows);
 
     /// <summary>
     ///     Gets or sets the clip rectangle that <see cref="AddRune(Rune)"/> and <see cref="AddStr(string)"/> are subject