mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
* Comment/warning clean up * Moved Text and Drawing out * Moved Layout out * Removed extra lines * Removed Mouse out * Reorgainzed View * API docs * removed border.cs * TopLevel.Resized -> TerminalResized * Mdi -> Overlapped * Removed confusing and un-needed WillPresent * privates -> _ * Tweaked RunLoop API
This commit is contained in:
@@ -173,7 +173,6 @@ namespace Terminal.Gui.DriverTests {
|
||||
// output.WriteLine ($"Add timeout to force quit after {abortTime}ms");
|
||||
// _ = Application.MainLoop.AddTimeout (TimeSpan.FromMilliseconds (abortTime), forceCloseCallback);
|
||||
|
||||
|
||||
// Key key = Key.Unknown;
|
||||
|
||||
// Application.Top.KeyPress += (e) => {
|
||||
@@ -206,7 +205,7 @@ namespace Terminal.Gui.DriverTests {
|
||||
var driver = (FakeDriver)Activator.CreateInstance (driverType);
|
||||
Application.Init (driver);
|
||||
var wasTerminalResized = false;
|
||||
Application.Resized = (e) => {
|
||||
Application.TerminalResized = (e) => {
|
||||
wasTerminalResized = true;
|
||||
Assert.Equal (120, e.Cols);
|
||||
Assert.Equal (40, e.Rows);
|
||||
|
||||
Reference in New Issue
Block a user