-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #2305. Improves the handling of escape sequence. #2375
Conversation
…f border is null.
…exit-fix Improves HeightAsBuffer although currently only works on Windows.
… drawing after exceptions.
…rminal.gui into fixes_2261_scroll_buffer_cleared_on_exit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't have time to finish but this is REALLY AWESOME.
You've removed a huge amount of code in doing this which fantastic.
One of us will need to merge in the work I did in #2261 though. Ugh.
I'll add more comments when I have time.
Please don't take my comments on terminology and wording personally. I know English is not your first language and that's just a fact. My goal here is to help!
Thanks.
I'll merge #2261 into this PR and you comment what is wrong when reviewing.
No worry @tig. You know that the documentation it isn't my favorite part and I only really appreciate all the helps on this matter. Thank you so much. |
e174db6
to
436715f
Compare
All done @tig. |
I don't understand why I only see 1177 tests and in the log after run is finished I see 1178 and none skipped. This is also happens with the developer branch. Is this a xunit bug?
|
I think I did it properly and if more some fix is needed we do later. I think you can close. |
…2375) * Changed ansi esc sequence used on exit. * Changed ansi esc sequence used on exit. * Improves HeightAsBuffer although currently only works on Windows. * Fixes gui-cs#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>
Fixes #2305 - Added the
EscSeqUtils
which will handle escape sequences from theNetDriver
and theCursesDriver
. The mouse management on CursesDriver is now managed with theEscSeqUtils
class.Fixes #1617
Pull Request checklist:
CTRL-K-D
to automatically reformat your files before committing.dotnet test
before commit///
style comments)