aboutsummaryrefslogtreecommitdiffstats
path: root/tests/control.rs
Commit message (Collapse)AuthorAgeFilesLines
* use callbacks for events rather than tracking countersJesse Luehrs2023-03-091-17/+22
|
* convert tests to fixturesJesse Luehrs2019-12-061-83/+7
|
* fix a couple more issues with end of line behaviorJesse Luehrs2019-12-051-0/+15
|
* split formatted calculations into multiple methodsJesse Luehrs2019-11-121-4/+9
| | | | | different applications want to be able to apply different things, so this gives more control
* make contents_diff include bell stateJesse Luehrs2019-11-121-0/+16
| | | | i don't think it makes sense for contents_formatted to include this
* remove parser.screen_mutJesse Luehrs2019-11-121-3/+8
| | | | | | it's easier to reason about if you are only able to get an immutable reference to the internal screen. this also required changing the api for bells.
* actually, i do need to disable this in each testJesse Luehrs2019-11-111-0/+2
|
* add Default impl for ParserJesse Luehrs2019-11-101-5/+5
|
* optionally save scrollback rowsJesse Luehrs2019-11-091-5/+5
|
* adjust the way window contents are reportedJesse Luehrs2019-11-051-5/+5
| | | | | | | | | | | | | | | | 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.
* expose the screen separately from the parserJesse Luehrs2019-11-051-61/+61
|
* more useful contents/contents_formatted behaviorJesse Luehrs2019-11-041-20/+5
|
* rename some methodsJesse Luehrs2019-11-031-5/+5
|
* implement vt and ffJesse Luehrs2019-11-011-3/+19
|
* basic structure of vte parserJesse Luehrs2019-10-291-9/+6
|
* start the rewriteJesse Luehrs2019-10-291-2/+0
|
* rustfmtJesse Luehrs2019-10-291-5/+20
|
* add a bunch of testsJesse Luehrs2016-04-281-0/+90