aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add support for CSI E/F (next and previous line)Danny Weinberg2023-04-179-0/+60
| | | | | | | | This adds support for the following two operations: - https://vt100.net/docs/vt510-rm/CNL.html - https://vt100.net/docs/vt510-rm/CPL.html While it looks like these weren't technically implemented in the vt100, it does seem that a number of modern terminals (iTerm2, Windows Terminal, as two examples) support them.
* stop implementing Default for CellJesse Luehrs2023-03-091-1/+3
|
* bump depsJesse Luehrs2023-03-091-14/+24
|
* implement callback for terminal resize requestJesse Luehrs2023-03-091-0/+40
|
* use callbacks for events rather than tracking countersJesse Luehrs2023-03-094-54/+44
|
* allow getting a mutable screen, and move some operations thereJesse Luehrs2023-03-092-19/+19
|
* clippyJesse Luehrs2023-02-055-22/+16
|
* 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
|