Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clippy | Jesse Luehrs | 2023-02-05 | 1 | -1/+1 |
| | |||||
* | add contents_between, for things like clipboard selections | Jesse Luehrs | 2020-05-11 | 1 | -0/+34 |
| | |||||
* | start restructuring the test suite | Jesse Luehrs | 2019-12-06 | 1 | -150/+36 |
| | |||||
* | fix a couple more issues with end of line behavior | Jesse Luehrs | 2019-12-05 | 1 | -6/+45 |
| | |||||
* | add another test | Jesse Luehrs | 2019-11-12 | 1 | -0/+21 |
| | |||||
* | rename test | Jesse Luehrs | 2019-11-12 | 1 | -1/+1 |
| | | | | so that it's easier to run on its own | ||||
* | optimize erases a bit more | Jesse Luehrs | 2019-11-11 | 1 | -1/+1 |
| | |||||
* | actually, i do need to disable this in each test | Jesse Luehrs | 2019-11-11 | 1 | -0/+2 |
| | |||||
* | add Default impl for Parser | Jesse Luehrs | 2019-11-10 | 1 | -6/+6 |
| | |||||
* | optimize attribute setting a bit | Jesse Luehrs | 2019-11-10 | 1 | -16/+10 |
| | |||||
* | optimize cursor movement a bit | Jesse Luehrs | 2019-11-10 | 1 | -26/+13 |
| | |||||
* | optionally save scrollback rows | Jesse Luehrs | 2019-11-09 | 1 | -9/+9 |
| | |||||
* | refactor terminal writing | Jesse Luehrs | 2019-11-09 | 1 | -10/+7 |
| | |||||
* | fix tests for the attribute reset change | Jesse Luehrs | 2019-11-08 | 1 | -11/+11 |
| | |||||
* | fix wide character handling in contents_formatted and contents_diff | Jesse Luehrs | 2019-11-08 | 1 | -0/+38 |
| | |||||
* | actually, we do need to always reset the hide cursor state | Jesse Luehrs | 2019-11-06 | 1 | -9/+15 |
| | |||||
* | also add a rows_diff method | Jesse Luehrs | 2019-11-06 | 1 | -16/+72 |
| | |||||
* | make row.contents_diff not require the row index | Jesse Luehrs | 2019-11-06 | 1 | -3/+6 |
| | |||||
* | also test less of the crawl ttyrec by default | Jesse Luehrs | 2019-11-06 | 1 | -1/+1 |
| | |||||
* | contents_formatted should additionally clear the screen | Jesse Luehrs | 2019-11-06 | 1 | -8/+9 |
| | |||||
* | contents_formatted and contents_diff should also restore the cursor | Jesse Luehrs | 2019-11-06 | 1 | -5/+11 |
| | | | | since the cursor is a visible part of the terminal | ||||
* | add more extensive test fixtures | Jesse Luehrs | 2019-11-05 | 1 | -11/+69 |
| | |||||
* | reset attrs at the start of diffs | Jesse Luehrs | 2019-11-05 | 1 | -4/+13 |
| | | | | | otherwise they might inherit the attrs state from the end of the previous state | ||||
* | fix erasing cells in diff | Jesse Luehrs | 2019-11-05 | 1 | -1/+45 |
| | | | | also add more comprehensive tests | ||||
* | add functionality for diffing two terminal screens | Jesse Luehrs | 2019-11-05 | 1 | -19/+70 |
| | |||||
* | adjust the way window contents are reported | Jesse Luehrs | 2019-11-05 | 1 | -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_formatted | Jesse Luehrs | 2019-11-05 | 1 | -0/+12 |
| | |||||
* | contents_formatted should return a Vec<u8> | Jesse Luehrs | 2019-11-05 | 1 | -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 parser | Jesse Luehrs | 2019-11-05 | 1 | -44/+45 |
| | |||||
* | more useful contents/contents_formatted behavior | Jesse Luehrs | 2019-11-04 | 1 | -28/+20 |
| | |||||
* | more tests | Jesse Luehrs | 2019-11-03 | 1 | -0/+59 |
| | |||||
* | rename some methods | Jesse Luehrs | 2019-11-03 | 1 | -4/+4 |
| | |||||
* | fmt | Jesse Luehrs | 2019-11-03 | 1 | -2/+8 |
| | |||||
* | improve formatted output a bit | Jesse Luehrs | 2019-11-03 | 1 | -0/+26 |