* Add GrabMouseEventArgs for GrabbingMouse and UnGrabbingMouse events.
* Implementing GrabbingMouse and UnGrabbingMouse in Toplevel class.
* Fix contentBottomRightCorner to draw with the right color.
* Fix a typo.
* Fix ListView to allow scrolling.
* Add a comment to explain an extra column for the cursor at the end of line.
* Add unit tests for GrabbingMouse and UnGrabbingMouse events.
* Add unit test for a Window inside a non Toplevel.
* Removes GrabMouseEventArgs.
* Prevents throwing an exception if not subscribed.
* GrabMouse must be first called before set the dragPosition.
* Add unit test to test null on GrabbingMouse and UnGrabbingMouse.
* Fix event name.
* Prevents a toplevel to overflows his bounds to allow it can be drag.
* Fix unit test.
---------
Co-authored-by: Tig <tig@users.noreply.github.com>
* add Disposal Test and fix an ssue where the CopyClipboard test was failing
* Update ViewDisposalTest.cs
* Update ViewDisposalTest.cs: Some Formatting, and adding code comments.
* Fix ViewDisposalTests (Wasn't working the way it was supposed to)
* update test
* update test
* update test
* try to fix as many conflicts as possible
* make test output prettier
* fix formatting
* Fix Subviews not being empty after disposing on all views.
* The fail cause was Application.Top not being disposed.
* Fix others containers that weren't being removed.
* Revert "The fail cause was Application.Top not being disposed."
This reverts commit 0c2183ed9e.
* Application.Top isn't null and need disposing.
* Fixes#2985. Application.RunState must be responsible for dispose the Toplevel property.
* Change the unit test with ans without Application.Shutdown method.
* Update ViewDisposeTests to actually check wether ALL views have been disposed (not just container)
* small additional check just to be safe
* Update ViewDisposalTest.cs: Formatting
* Update ViewDisposalTest.cs: Minor change to re-trigger Action
TestVKPacket is acting up again. Maybe the test is running async and is receiving scan codes from other instances?
---------
Co-authored-by: John Züchler <john.zuechler@eks-intec.de>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: Tig <tig@users.noreply.github.com>
* fix issue #2913
* remove disposed instances from responder.instances (optional)
* Ensures only clear Instances if they really was disposed.
* Fix unit tests.
* Update RunStateTests.cs
Minor format change to trigger new Unittest execution
* Fixes Pos/Dim static fields not being disposing.
---------
Co-authored-by: John Züchler <john.zuechler@eks-intec.de>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
* 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>