aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* clean up clippy stuffJesse Luehrs2021-12-134-6/+1
|
* ensure that diffing a screen against itself always returns nothingJesse Luehrs2021-12-101-0/+2
|
* better (i think?) handling of weird character widthsJesse Luehrs2021-12-062-4/+4
| | | | | control codes are ignored completely, and everything else defaults to 1 instead of 0
* add a binary to test vt100 state against a real terminalJesse Luehrs2021-12-061-4/+14
|
* another parameter parsing bugJesse Luehrs2021-12-031-1/+2
|
* fix receiving empty paramsJesse Luehrs2021-12-031-0/+8
|
* another missing attribute settingJesse Luehrs2021-12-035-0/+46
|
* we want to force wrapping here even if the cursor was already correctJesse Luehrs2021-12-035-0/+37
|
* scrolling down should clear the last row's wrap flagJesse Luehrs2021-12-033-0/+14
|
* fix wrapping while scrolling inside the scroll region tooJesse Luehrs2021-12-033-0/+17
|
* handle scrolling outside of a scroll regionJesse Luehrs2021-12-0351-64/+1767
| | | | | | it shouldn't scroll the scroll region if you wrap off the end of the whole terminal outside of the scroll region. also, that kind of non-wrap shouldn't set the wrap flag
* wide continuation cells should not have attributesJesse Luehrs2021-12-033-0/+20
| | | | it confuses things like cell insertion
* fix test codeJesse Luehrs2021-12-034-0/+16
|
* fix cell attrs when wrapped but no first cell contents on next lineJesse Luehrs2021-12-033-0/+15
|
* fix keeping cursor past end of line with diffsJesse Luehrs2021-12-035-0/+31
|
* another wide char/line wrapping edge caseJesse Luehrs2021-12-033-0/+22
|
* more wrapping bugsJesse Luehrs2021-11-205-0/+47
|
* only do wrapping logic during diff if we weren't wrapping beforeJesse Luehrs2021-11-205-0/+38
|
* more cursor_state_formatted fixesJesse Luehrs2021-11-203-0/+15
|
* make sure all of these cases are handled the sameJesse Luehrs2021-11-203-0/+7691
|
* also explicitly test wrapped statesJesse Luehrs2021-11-201-0/+3
|
* more wrapping + el bugsJesse Luehrs2021-11-203-0/+23
|
* fix another attribute issue with cursor_state_formattedJesse Luehrs2021-11-193-0/+331
|
* more line wrapping bugsJesse Luehrs2021-11-194-0/+23
|
* fix up some more issues with row_formattedJesse Luehrs2021-11-193-0/+19
| | | | handle cursor positioning and wrapping a bit better
* 127 is also a control characterJesse Luehrs2021-11-191-1/+3
|
* remove special casing for combined character wrappingJesse Luehrs2021-11-198-2/+46
| | | | | | | the comment here is just... not true? not really sure why i thought it was, but testing on all of alacritty, xterm, and tmux show the opposite behavior to what is in the comment, so i'm going to assume this is just wrong
* fix some line wrapping state issuesJesse Luehrs2021-11-185-0/+508
|
* add fuzzer input generatorJesse Luehrs2021-11-181-0/+59
|
* forgot some generated filesJesse Luehrs2021-11-162-0/+9
|
* input validation for vpaJesse Luehrs2021-11-1615-15/+26
|
* edition 2021Jesse Luehrs2021-11-161-2/+0
|
* expose some extra internal state to help reproduce line wrappingJesse Luehrs2021-11-161-5/+80
| | | | | | | | adds `row_wrapped` and `cursor_state_formatted` to allow you to better recreate the internal state of the cursor when using `rows_formatted`. also make `rows_formatted` keep track of the wrapping state itself, since there are some edge cases that aren't really able to easily be tracked externally.
* clippyJesse Luehrs2021-11-164-16/+16
|
* add Screen::state_formatted and Screen::state_diffJesse Luehrs2021-03-091-0/+2
|
* fix attributes_formatted, remove attributes_diffJesse Luehrs2021-03-091-0/+12
| | | | also improve the documentation and add more tests
* add a Write implementation for ParserJesse Luehrs2021-03-061-0/+60
|
* test subparameter behaviorJesse Luehrs2021-03-057-0/+66
|
* add contents_between, for things like clipboard selectionsJesse Luehrs2020-05-111-0/+34
|
* clippyJesse Luehrs2020-02-091-1/+1
|
* add a basic quickcheck testJesse Luehrs2019-12-071-0/+145
|
* fix positioning cursor past end of line when there are wide charactersJesse Luehrs2019-12-073-0/+23
|
* clear wide characters if they get half-scrolled off the rightJesse Luehrs2019-12-073-0/+10
|
* one more try for leaving a cursor at the end of a rowJesse Luehrs2019-12-073-0/+15
|
* actually, remove normalization entirelyJesse Luehrs2019-12-079-11/+24
| | | | | | | normalization has some weird edge cases that cause incorrect behavior, since we aren't implementing full grapheme segmentation (for instance, a single codepoint can be normalized into three different codepoints, and there are codepoints that are combining characters but have width != 0)
* need to update pos after potentially wrappingJesse Luehrs2019-12-063-0/+27
|
* more line wrapping fixesJesse Luehrs2019-12-0611-0/+100
|
* fix contents when a wrapped row is followed by an empty rowJesse Luehrs2019-12-061-1/+1
|
* also move the wide char check inside the loop for ECHJesse Luehrs2019-12-063-0/+17
|
* handle line wrapping with wide characters + combining charactersJesse Luehrs2019-12-063-0/+19
|