diff --git a/Terminal.Gui/Application.cs b/Terminal.Gui/Application.cs index a16d321d4..de86b2a76 100644 --- a/Terminal.Gui/Application.cs +++ b/Terminal.Gui/Application.cs @@ -1408,6 +1408,7 @@ public static partial class Application /// public static event EventHandler MouseEvent; + #nullable enable /// Called when a mouse event occurs. Fires the event. /// This method can be used to simulate a mouse event, e.g. in unit tests. /// The mouse event with coordinates relative to the screen. @@ -1621,6 +1622,7 @@ public static partial class Application } } } + #nullable restore #endregion Mouse handling