mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Fixed post merge errors.
This commit is contained in:
@@ -3,6 +3,14 @@ namespace Terminal.Gui;
|
||||
|
||||
public static partial class Application // Screen related stuff
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the size of the screen. This is the size of the screen as reported by the <see cref="ConsoleDriver"/>.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// If the <see cref="ConsoleDriver"/> has not been initialized, this will return a default size of 2048x2048; useful for unit tests.
|
||||
/// </remarks>
|
||||
public static Rectangle Screen => Driver?.Screen ?? new (0, 0, 2048, 2048);
|
||||
|
||||
/// <summary>Invoked when the terminal's size changed. The new size of the terminal is provided.</summary>
|
||||
/// <remarks>
|
||||
/// Event handlers can set <see cref="SizeChangedEventArgs.Cancel"/> to <see langword="true"/> to prevent
|
||||
|
||||
Reference in New Issue
Block a user