Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | stop pretending to support left/right scroll regions | Jesse Luehrs | 2019-11-06 | 2 | -30/+10 | |
| | ||||||
* | contents_formatted should additionally clear the screen | Jesse Luehrs | 2019-11-06 | 1 | -1/+1 | |
| | ||||||
* | contents_formatted and contents_diff should also restore the cursor | Jesse Luehrs | 2019-11-06 | 3 | -14/+54 | |
| | | | | since the cursor is a visible part of the terminal | |||||
* | reset attrs at the start of diffs | Jesse Luehrs | 2019-11-05 | 1 | -1/+1 | |
| | | | | | 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/+1 | |
| | | | | also add more comprehensive tests | |||||
* | add functionality for diffing two terminal screens | Jesse Luehrs | 2019-11-05 | 4 | -1/+64 | |
| | ||||||
* | adjust the way window contents are reported | Jesse Luehrs | 2019-11-05 | 3 | -107/+117 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | stop wrapping if the number of cols changes | Jesse Luehrs | 2019-11-05 | 1 | -0/+6 | |
| | ||||||
* | preserve the state of empty cells in contents_formatted | Jesse Luehrs | 2019-11-05 | 1 | -1/+1 | |
| | ||||||
* | contents_formatted should return a Vec<u8> | Jesse Luehrs | 2019-11-05 | 4 | -18/+36 | |
| | | | | | the overall terminal escape sequence byte stream is not necessarily utf8-safe, even if individual cell contents are | |||||
* | formatting | Jesse Luehrs | 2019-11-05 | 1 | -2/+4 | |
| | ||||||
* | this method isn't useful | Jesse Luehrs | 2019-11-05 | 1 | -5/+0 | |
| | ||||||
* | docs | Jesse Luehrs | 2019-11-05 | 3 | -0/+11 | |
| | ||||||
* | add Clone and Debug to Screen | Jesse Luehrs | 2019-11-05 | 3 | -1/+3 | |
| | ||||||
* | expose the screen separately from the parser | Jesse Luehrs | 2019-11-05 | 3 | -205/+208 | |
| | ||||||
* | clippy | Jesse Luehrs | 2019-11-04 | 1 | -0/+2 | |
| | ||||||
* | docs | Jesse Luehrs | 2019-11-04 | 4 | -0/+125 | |
| | ||||||
* | stop reallocating vecs so much | Jesse Luehrs | 2019-11-04 | 5 | -13/+33 | |
| | ||||||
* | more useful contents/contents_formatted behavior | Jesse Luehrs | 2019-11-04 | 2 | -3/+3 | |
| | ||||||
* | decsc should also save graphic rendition and origin mode | Jesse Luehrs | 2019-11-03 | 2 | -4/+20 | |
| | ||||||
* | rename some methods | Jesse Luehrs | 2019-11-03 | 2 | -8/+8 | |
| | ||||||
* | fix off-by-one in erase_row_backward | Jesse Luehrs | 2019-11-03 | 1 | -1/+1 | |
| | | | | | fixes behavior of CSI 1 J and CSI 1 K (which are not particularly commonly used, which is why this was missed before) | |||||
* | fmt | Jesse Luehrs | 2019-11-03 | 2 | -21/+8 | |
| | ||||||
* | actually, i do want to default to resetting everything | Jesse Luehrs | 2019-11-03 | 1 | -9/+11 | |
| | | | | | the stuff that survives across a reset should be the special case, handled specially | |||||
* | clean up public api a bit | Jesse Luehrs | 2019-11-03 | 2 | -54/+36 | |
| | ||||||
* | reorder | Jesse Luehrs | 2019-11-03 | 1 | -4/+4 | |
| | ||||||
* | simplify | Jesse Luehrs | 2019-11-03 | 2 | -10/+16 | |
| | ||||||
* | fmt | Jesse Luehrs | 2019-11-03 | 2 | -5/+3 | |
| | ||||||
* | improve formatted output a bit | Jesse Luehrs | 2019-11-03 | 1 | -1/+5 | |
| | ||||||
* | alternate screen can just be a normal mode now | Jesse Luehrs | 2019-11-03 | 1 | -8/+6 | |
| | ||||||
* | simplify | Jesse Luehrs | 2019-11-03 | 5 | -36/+36 | |
| | ||||||
* | simplify | Jesse Luehrs | 2019-11-03 | 1 | -2/+1 | |
| | ||||||
* | no reason to use references here | Jesse Luehrs | 2019-11-03 | 2 | -7/+7 | |
| | ||||||
* | use a bitset for text modes too | Jesse Luehrs | 2019-11-03 | 3 | -28/+81 | |
| | ||||||
* | use iterators in more places instead of raw indexing | Jesse Luehrs | 2019-11-02 | 3 | -83/+102 | |
| | ||||||
* | simplify | Jesse Luehrs | 2019-11-02 | 1 | -2/+2 | |
| | ||||||
* | fix one more warning | Jesse Luehrs | 2019-11-02 | 1 | -1/+3 | |
| | ||||||
* | simplify, and fix some more warnings | Jesse Luehrs | 2019-11-02 | 1 | -65/+52 | |
| | ||||||
* | fixup! fix some warnings, and make str_width a bit more efficient | Jesse Luehrs | 2019-11-02 | 1 | -2/+2 | |
| | ||||||
* | fix screen resizing | Jesse Luehrs | 2019-11-02 | 2 | -1/+13 | |
| | ||||||
* | simplify | Jesse Luehrs | 2019-11-02 | 1 | -27/+28 | |
| | ||||||
* | these can just return directly | Jesse Luehrs | 2019-11-02 | 1 | -6/+6 | |
| | ||||||
* | fix some warnings, and make str_width a bit more efficient | Jesse Luehrs | 2019-11-02 | 1 | -4/+8 | |
| | ||||||
* | add some logging | Jesse Luehrs | 2019-11-02 | 1 | -10/+79 | |
| | ||||||
* | improve alternate screen handling | Jesse Luehrs | 2019-11-02 | 1 | -14/+26 | |
| | ||||||
* | improve mouse mode handling | Jesse Luehrs | 2019-11-02 | 1 | -19/+90 | |
| | ||||||
* | implement origin mode | Jesse Luehrs | 2019-11-02 | 2 | -15/+32 | |
| | ||||||
* | use enumset instead of hand-rolling it | Jesse Luehrs | 2019-11-02 | 1 | -58/+62 | |
| | | | | makes it a bit faster too | |||||
* | simplify | Jesse Luehrs | 2019-11-01 | 1 | -3/+6 | |
| | ||||||
* | simplify | Jesse Luehrs | 2019-11-01 | 1 | -8/+4 | |
| | | | | also fix reset clearing bell state |