aboutsummaryrefslogtreecommitdiffstats
path: root/tests/window_contents.rs
Commit message (Collapse)AuthorAgeFilesLines
* clippyJesse Luehrs2023-02-051-1/+1
|
* add contents_between, for things like clipboard selectionsJesse Luehrs2020-05-111-0/+34
|
* start restructuring the test suiteJesse Luehrs2019-12-061-150/+36
|
* fix a couple more issues with end of line behaviorJesse Luehrs2019-12-051-6/+45
|
* add another testJesse Luehrs2019-11-121-0/+21
|
* rename testJesse Luehrs2019-11-121-1/+1
| | | | so that it's easier to run on its own
* optimize erases a bit moreJesse Luehrs2019-11-111-1/+1
|
* actually, i do need to disable this in each testJesse Luehrs2019-11-111-0/+2
|
* add Default impl for ParserJesse Luehrs2019-11-101-6/+6
|
* optimize attribute setting a bitJesse Luehrs2019-11-101-16/+10
|
* optimize cursor movement a bitJesse Luehrs2019-11-101-26/+13
|
* optionally save scrollback rowsJesse Luehrs2019-11-091-9/+9
|
* refactor terminal writingJesse Luehrs2019-11-091-10/+7
|
* fix tests for the attribute reset changeJesse Luehrs2019-11-081-11/+11
|
* fix wide character handling in contents_formatted and contents_diffJesse Luehrs2019-11-081-0/+38
|
* actually, we do need to always reset the hide cursor stateJesse Luehrs2019-11-061-9/+15
|
* also add a rows_diff methodJesse Luehrs2019-11-061-16/+72
|
* make row.contents_diff not require the row indexJesse Luehrs2019-11-061-3/+6
|
* also test less of the crawl ttyrec by defaultJesse Luehrs2019-11-061-1/+1
|
* contents_formatted should additionally clear the screenJesse Luehrs2019-11-061-8/+9
|
* contents_formatted and contents_diff should also restore the cursorJesse Luehrs2019-11-061-5/+11
| | | | since the cursor is a visible part of the terminal
* add more extensive test fixturesJesse Luehrs2019-11-051-11/+69
|
* reset attrs at the start of diffsJesse Luehrs2019-11-051-4/+13
| | | | | otherwise they might inherit the attrs state from the end of the previous state
* fix erasing cells in diffJesse Luehrs2019-11-051-1/+45
| | | | also add more comprehensive tests
* add functionality for diffing two terminal screensJesse Luehrs2019-11-051-19/+70
|
* adjust the way window contents are reportedJesse Luehrs2019-11-051-11/+262
| | | | | | | | | | | | | | | | contents and contents_formatted now only allow getting the entire terminal contents, and for any other uses we now provide rows and rows_formatted. the reasoning here is that it wasn't particularly useful to return newline (or crlf) separated lines when not drawing the full terminal, since it's not like you can send those to the terminal in any meaningful way anyway (like, if you wanted to draw a subset of the terminal state, you'll almost certainly need to be doing explicit positioning on your own, since crlf is only actually correct if you're drawing the screen subset in the upper left hand corner of the screen). with this, you can draw each (subset of a) line individually, and reposition the cursor in whatever way makes sense in between drawing the lines.
* preserve the state of empty cells in contents_formattedJesse Luehrs2019-11-051-0/+12
|
* contents_formatted should return a Vec<u8>Jesse Luehrs2019-11-051-8/+8
| | | | | the overall terminal escape sequence byte stream is not necessarily utf8-safe, even if individual cell contents are
* expose the screen separately from the parserJesse Luehrs2019-11-051-44/+45
|
* more useful contents/contents_formatted behaviorJesse Luehrs2019-11-041-28/+20
|
* more testsJesse Luehrs2019-11-031-0/+59
|
* rename some methodsJesse Luehrs2019-11-031-4/+4
|
* fmtJesse Luehrs2019-11-031-2/+8
|
* improve formatted output a bitJesse Luehrs2019-11-031-0/+26