Fixes #2305. Improves the handling of escape sequence.#2375
Fixes #2305. Improves the handling of escape sequence.#2375tig merged 43 commits intogui-cs:developfrom
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
tig
left a comment
There was a problem hiding this comment.
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
EscSeqUtilswhich will handle escape sequences from theNetDriverand theCursesDriver. The mouse management on CursesDriver is now managed with theEscSeqUtilsclass.Fixes #1617
Pull Request checklist:
CTRL-K-Dto automatically reformat your files before committing.dotnet testbefore commit///style comments)