aboutsummaryrefslogtreecommitdiffstats
path: root/tests/escape.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-156/+5
|
* split formatted calculations into multiple methodsJesse Luehrs2019-11-121-5/+18
| | | | | 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/+19
| | | | i don't think it makes sense for contents_formatted to include this
* remove parser.screen_mutJesse Luehrs2019-11-121-10/+14
| | | | | | 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
|
* allow cognitive_complexity everywhereJesse Luehrs2019-11-111-2/+0
|
* add Default impl for ParserJesse Luehrs2019-11-101-5/+5
|
* optimize attribute setting a bitJesse Luehrs2019-11-101-2/+3
|
* optimize cursor movement a bitJesse Luehrs2019-11-101-3/+3
|
* optionally save scrollback rowsJesse Luehrs2019-11-091-5/+5
|
* remove unnecessary accessorsJesse Luehrs2019-11-081-24/+0
| | | | nobody should be caring about the terminal state internals
* fix tests for the attribute reset changeJesse Luehrs2019-11-081-6/+6
|
* fix RI at the top of the screenJesse Luehrs2019-11-081-0/+6
|
* actually, we do need to always reset the hide cursor stateJesse Luehrs2019-11-061-5/+11
|
* contents_formatted should additionally clear the screenJesse Luehrs2019-11-061-6/+6
|
* contents_formatted and contents_diff should also restore the cursorJesse Luehrs2019-11-061-3/+3
| | | | since the cursor is a visible part of the terminal
* adjust the way window contents are reportedJesse Luehrs2019-11-051-15/+12
| | | | | | | | | | | | | | | | 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.
* contents_formatted should return a Vec<u8>Jesse Luehrs2019-11-051-6/+6
| | | | | 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-100/+109
|
* more useful contents/contents_formatted behaviorJesse Luehrs2019-11-041-34/+13
|
* decsc should also save graphic rendition and origin modeJesse Luehrs2019-11-031-0/+21
|
* more testsJesse Luehrs2019-11-031-3/+22
|
* rename some methodsJesse Luehrs2019-11-031-8/+8
|
* clean up public api a bitJesse Luehrs2019-11-031-25/+27
|
* improve mouse mode handlingJesse Luehrs2019-11-021-3/+7
|
* there's no reason title and icon_name should be optionsJesse Luehrs2019-11-011-6/+6
|
* basic structure of vte parserJesse Luehrs2019-10-291-10/+7
|
* start the rewriteJesse Luehrs2019-10-291-7/+7
|
* rustfmtJesse Luehrs2019-10-291-7/+28
|
* add a bunch of testsJesse Luehrs2016-04-281-0/+135