Fixes #3839, #3922 - CM Glyphs not working (#3923)

* fixed

* Moved Glyphs to ThemeScope

* Removed test code
This commit is contained in:
Tig
2025-02-26 15:24:58 -07:00
committed by GitHub
parent 7ba6d638bc
commit f3697a99f4
36 changed files with 980 additions and 898 deletions

View File

@@ -1,4 +1,5 @@
using Xunit.Abstractions;
using System.Diagnostics;
using Xunit.Abstractions;
using static Terminal.Gui.ConfigurationManager;
// Alias Console to MockConsole so we don't accidentally use Console
@@ -201,6 +202,10 @@ public class ApplicationTests
[Fact]
public void Init_Begin_End_Cleans_Up ()
{
// Start stopwatch
Stopwatch stopwatch = new Stopwatch ();
stopwatch.Start ();
Init ();
// Begin will cause Run() to be called, which will call Begin(). Thus will block the tests
@@ -237,6 +242,12 @@ public class ApplicationTests
Assert.Null (Application.Top);
Assert.Null (Application.MainLoop);
Assert.Null (Application.Driver);
// Stop stopwatch
stopwatch.Stop ();
_output.WriteLine ($"Load took {stopwatch.ElapsedMilliseconds} ms");
}
[Theory]