mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
* Changed ansi esc sequence used on exit. * Changed ansi esc sequence used on exit. * Improves HeightAsBuffer although currently only works on Windows. * Fixes #2267. Toplevel.EnsureVisibleBounds throws an exception if border is null. * Changing comment as requested. * Fixes indentation. * Seems not needed for now, maybe some update, comment for now. * Renamed HeightAsBuffer to EnableConsoleScrolling and made it obsolete. * Add comment on remarks for EnableConsoleScrolling. * merged @bdisp's EnableConsoleScrolling PR * Fixes buffer for Windows Terminal. * Fixes issue in Windows Terminal on resizing causing some lines not be drawing after exceptions. * merge #9 * merged #9 * use ESC [ ? 1047 * Tweaks with new esc codes * Fixed curses driver to not nuke scroll buffer and to resize properly * merge * Cleand up netdriver escape codes * fixed spaces->tabs * fixed spaces->tabs * fixed spaces->tabs * fixed spaces->tabs * fixed merge issue and spaces->tabs * fixed spaces->tabs * fixed spaces->tabs * fixed spaces->tabs * fixed build error * removed old comments * Resolving merge conflicts. * Ensuring reset the EnableConsoleScrolling. * Changing from HeightAsBuffer to EnableConsoleScrolling. * Done requested changes. * Reformatting. * Rename to EscSeqReqStatus. * Removing Console.Out.Flush (); --------- Co-authored-by: Charlie Kindel <tig@users.noreply.github.com> Co-authored-by: Tig Kindel <tig@kindel.com>
This commit is contained in:
@@ -24,6 +24,7 @@ namespace Terminal.Gui.ApplicationTests {
|
||||
Assert.Null (Application.Driver);
|
||||
Assert.Null (Application.Top);
|
||||
Assert.Null (Application.Current);
|
||||
Assert.False (Application.EnableConsoleScrolling);
|
||||
Assert.Null (Application.MainLoop);
|
||||
Assert.Null (Application.Iteration);
|
||||
Assert.Null (Application.RootMouseEvent);
|
||||
@@ -35,7 +36,7 @@ namespace Terminal.Gui.ApplicationTests {
|
||||
Assert.NotNull (Application.Driver);
|
||||
Assert.NotNull (Application.Top);
|
||||
Assert.NotNull (Application.Current);
|
||||
Assert.False (Application.HeightAsBuffer);
|
||||
Assert.False (Application.EnableConsoleScrolling);
|
||||
Assert.NotNull (Application.MainLoop);
|
||||
Assert.Null (Application.Iteration);
|
||||
Assert.Null (Application.RootMouseEvent);
|
||||
@@ -312,7 +313,7 @@ namespace Terminal.Gui.ApplicationTests {
|
||||
public void Run_T_Init_Driver_Cleared_with_TestTopLevel_Throws ()
|
||||
{
|
||||
Init ();
|
||||
|
||||
|
||||
Application.Driver = null;
|
||||
|
||||
Application.Iteration = () => {
|
||||
@@ -332,8 +333,8 @@ namespace Terminal.Gui.ApplicationTests {
|
||||
[Fact]
|
||||
public void Run_T_NoInit_DoesNotThrow ()
|
||||
{
|
||||
Application.ForceFakeConsole = true;
|
||||
|
||||
Application.ForceFakeConsole = true;
|
||||
|
||||
Application.Iteration = () => {
|
||||
Application.RequestStop ();
|
||||
};
|
||||
@@ -429,7 +430,7 @@ namespace Terminal.Gui.ApplicationTests {
|
||||
}
|
||||
|
||||
// TODO: Add tests for Run that test errorHandler
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region ShutdownTests
|
||||
|
||||
Reference in New Issue
Block a user