Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | be a bit smarter about types | Jesse Luehrs | 2021-12-14 | 1 | -15/+15 |
| | |||||
* | clean up clippy stuff | Jesse Luehrs | 2021-12-13 | 1 | -1/+0 |
| | |||||
* | ensure that diffing a screen against itself always returns nothing | Jesse Luehrs | 2021-12-10 | 1 | -0/+2 |
| | |||||
* | another missing attribute setting | Jesse Luehrs | 2021-12-03 | 1 | -0/+5 |
| | |||||
* | we want to force wrapping here even if the cursor was already correct | Jesse Luehrs | 2021-12-03 | 1 | -2/+1 |
| | |||||
* | fix cell attrs when wrapped but no first cell contents on next line | Jesse Luehrs | 2021-12-03 | 1 | -0/+11 |
| | |||||
* | fix keeping cursor past end of line with diffs | Jesse Luehrs | 2021-12-03 | 1 | -2/+4 |
| | |||||
* | more wrapping bugs | Jesse Luehrs | 2021-11-20 | 1 | -1/+2 |
| | |||||
* | only do wrapping logic during diff if we weren't wrapping before | Jesse Luehrs | 2021-11-20 | 1 | -1/+1 |
| | |||||
* | i... don't think this conditional ever did anything? | Jesse Luehrs | 2021-11-20 | 1 | -46/+2 |
| | | | | | i can't even understand the logic involved here, but it seems nonsensical to me, and removing it doesn't break any tests | ||||
* | make sure all of these cases are handled the same | Jesse Luehrs | 2021-11-20 | 1 | -3/+22 |
| | |||||
* | more wrapping + el bugs | Jesse Luehrs | 2021-11-20 | 1 | -6/+43 |
| | |||||
* | fix up some more issues with row_formatted | Jesse Luehrs | 2021-11-19 | 1 | -2/+14 |
| | | | | handle cursor positioning and wrapping a bit better | ||||
* | fix some line wrapping state issues | Jesse Luehrs | 2021-11-18 | 1 | -2/+11 |
| | |||||
* | edition 2021 | Jesse Luehrs | 2021-11-16 | 1 | -1/+0 |
| | |||||
* | clippy | Jesse Luehrs | 2021-11-12 | 1 | -1/+1 |
| | |||||
* | avoid calculating contents multiple times | Jesse Luehrs | 2019-12-07 | 1 | -3/+3 |
| | |||||
* | clear wide characters if they get half-scrolled off the right | Jesse Luehrs | 2019-12-07 | 1 | -0/+4 |
| | |||||
* | more line wrapping fixes | Jesse Luehrs | 2019-12-06 | 1 | -0/+32 |
| | |||||
* | fix contents when a wrapped row is followed by an empty row | Jesse Luehrs | 2019-12-06 | 1 | -0/+4 |
| | |||||
* | handle line wrapping with wide characters + combining characters | Jesse Luehrs | 2019-12-06 | 1 | -2/+48 |
| | |||||
* | preserve wrapping state when possible | Jesse Luehrs | 2019-12-06 | 1 | -0/+34 |
| | |||||
* | handle wide char wrapping correctly | Jesse Luehrs | 2019-12-05 | 1 | -2/+6 |
| | | | | | wrapping a wide char should set the wrapping state of the line even if it wrapped before the last column | ||||
* | track fullwidth continuation cells explicitly | Jesse Luehrs | 2019-12-05 | 1 | -6/+18 |
| | | | | this makes the logic a bit easier to follow | ||||
* | optimize erases a bit more | Jesse Luehrs | 2019-11-11 | 1 | -34/+92 |
| | |||||
* | actually, this method isn't necessary at all | Jesse Luehrs | 2019-11-11 | 1 | -22/+13 |
| | |||||
* | actually remove the last bgcolor special case | Jesse Luehrs | 2019-11-11 | 1 | -2/+2 |
| | |||||
* | factor out cursor movement logic | Jesse Luehrs | 2019-11-11 | 1 | -27/+11 |
| | |||||
* | comment | Jesse Luehrs | 2019-11-11 | 1 | -0/+3 |
| | |||||
* | stop special-casing bgcolor in one more place | Jesse Luehrs | 2019-11-11 | 1 | -3/+2 |
| | |||||
* | preserve all text attributes on cleared cells | Jesse Luehrs | 2019-11-11 | 1 | -22/+10 |
| | | | | | | | some terminals require it (alacritty wants to render underline and inverse state of cleared cells, for instance, so we have to be sure that the diff algorithm will properly reset the cursor attributes before clearing cells) | ||||
* | stop using formats at all | Jesse Luehrs | 2019-11-11 | 1 | -55/+15 |
| | | | | they are too slow | ||||
* | simplify | Jesse Luehrs | 2019-11-10 | 1 | -57/+41 |
| | |||||
* | optimize attribute setting a bit | Jesse Luehrs | 2019-11-10 | 1 | -8/+20 |
| | |||||
* | optimize cursor movement a bit | Jesse Luehrs | 2019-11-10 | 1 | -49/+122 |
| | |||||
* | missed one | Jesse Luehrs | 2019-11-09 | 1 | -1/+4 |
| | |||||
* | use a fixed size buffer for cell data | Jesse Luehrs | 2019-11-09 | 1 | -1/+1 |
| | | | | this dramatically speeds things up | ||||
* | refactor terminal writing | Jesse Luehrs | 2019-11-09 | 1 | -38/+69 |
| | |||||
* | fix wide character handling in contents_formatted and contents_diff | Jesse Luehrs | 2019-11-08 | 1 | -8/+22 |
| | |||||
* | clearing cells sets the background color | Jesse Luehrs | 2019-11-08 | 1 | -4/+8 |
| | |||||
* | also add a rows_diff method | Jesse Luehrs | 2019-11-06 | 1 | -2/+9 |
| | |||||
* | make row.contents_diff not require the row index | Jesse Luehrs | 2019-11-06 | 1 | -9/+5 |
| | |||||
* | contents_formatted and contents_diff should also restore the cursor | Jesse Luehrs | 2019-11-06 | 1 | -9/+8 |
| | | | | since the cursor is a visible part of the terminal | ||||
* | 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 | 1 | -0/+40 |
| | |||||
* | adjust the way window contents are reported | Jesse Luehrs | 2019-11-05 | 1 | -59/+57 |
| | | | | | | | | | | | | | | | | 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 | -1/+1 |
| | |||||
* | contents_formatted should return a Vec<u8> | Jesse Luehrs | 2019-11-05 | 1 | -5/+5 |
| | | | | | the overall terminal escape sequence byte stream is not necessarily utf8-safe, even if individual cell contents are | ||||
* | add Clone and Debug to Screen | Jesse Luehrs | 2019-11-05 | 1 | -1/+1 |
| | |||||
* | stop reallocating vecs so much | Jesse Luehrs | 2019-11-04 | 1 | -1/+4 |
| |