Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix positioning cursor past end of line when there are wide characters | Jesse Luehrs | 2019-12-07 | 1 | -12/+16 |
| | |||||
* | one more try for leaving a cursor at the end of a row | Jesse Luehrs | 2019-12-07 | 1 | -14/+18 |
| | |||||
* | more line wrapping fixes | Jesse Luehrs | 2019-12-06 | 1 | -1/+0 |
| | |||||
* | fix contents when a wrapped row is followed by an empty row | Jesse Luehrs | 2019-12-06 | 1 | -1/+3 |
| | |||||
* | also move the wide char check inside the loop for ECH | Jesse Luehrs | 2019-12-06 | 1 | -1/+1 |
| | |||||
* | track fullwidth continuation cells explicitly | Jesse Luehrs | 2019-12-05 | 1 | -8/+27 |
| | | | | this makes the logic a bit easier to follow | ||||
* | fix a couple more issues with end of line behavior | Jesse Luehrs | 2019-12-05 | 1 | -6/+98 |
| | |||||
* | handle wrapped cursors properly on output | Jesse Luehrs | 2019-11-20 | 1 | -2/+46 |
| | |||||
* | actually resize the underlying grid when requested | Jesse Luehrs | 2019-11-12 | 1 | -0/+8 |
| | |||||
* | a few more movement tweaks | Jesse Luehrs | 2019-11-11 | 1 | -6/+2 |
| | |||||
* | preserve all text attributes on cleared cells | Jesse Luehrs | 2019-11-11 | 1 | -17/+17 |
| | | | | | | | 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 | -14/+6 |
| | | | | they are too slow | ||||
* | simplify | Jesse Luehrs | 2019-11-10 | 1 | -2/+2 |
| | |||||
* | optimize attribute setting a bit | Jesse Luehrs | 2019-11-10 | 1 | -6/+15 |
| | |||||
* | optimize cursor movement a bit | Jesse Luehrs | 2019-11-10 | 1 | -34/+23 |
| | |||||
* | shuffle around some methods | Jesse Luehrs | 2019-11-10 | 1 | -8/+8 |
| | |||||
* | implement scrolling back | Jesse Luehrs | 2019-11-09 | 1 | -22/+57 |
| | |||||
* | optionally save scrollback rows | Jesse Luehrs | 2019-11-09 | 1 | -2/+21 |
| | |||||
* | refactor terminal writing | Jesse Luehrs | 2019-11-09 | 1 | -34/+52 |
| | |||||
* | ignore the scroll region when moving if we're already outside of it | Jesse Luehrs | 2019-11-08 | 1 | -4/+12 |
| | |||||
* | contents_formatted should also reset attributes | Jesse Luehrs | 2019-11-08 | 1 | -1/+1 |
| | | | | for the same reason as contents_diff | ||||
* | VPA should not be restricted to the scroll region | Jesse Luehrs | 2019-11-08 | 1 | -2/+0 |
| | | | | since it is absolute positioning | ||||
* | fix RI at the top of the screen | Jesse Luehrs | 2019-11-08 | 1 | -1/+8 |
| | |||||
* | clearing cells sets the background color | Jesse Luehrs | 2019-11-08 | 1 | -17/+17 |
| | |||||
* | also add a rows_diff method | Jesse Luehrs | 2019-11-06 | 1 | -1/+1 |
| | |||||
* | make row.contents_diff not require the row index | Jesse Luehrs | 2019-11-06 | 1 | -5/+3 |
| | |||||
* | stop pretending to support left/right scroll regions | Jesse Luehrs | 2019-11-06 | 1 | -8/+1 |
| | |||||
* | 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 | 1 | -2/+29 |
| | | | | 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 | ||||
* | add functionality for diffing two terminal screens | Jesse Luehrs | 2019-11-05 | 1 | -0/+19 |
| | |||||
* | adjust the way window contents are reported | Jesse Luehrs | 2019-11-05 | 1 | -29/+14 |
| | | | | | | | | | | | | | | | | 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 |
| | |||||
* | contents_formatted should return a Vec<u8> | Jesse Luehrs | 2019-11-05 | 1 | -7/+16 |
| | | | | | 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 | -0/+1 |
| | |||||
* | stop reallocating vecs so much | Jesse Luehrs | 2019-11-04 | 1 | -4/+18 |
| | |||||
* | more useful contents/contents_formatted behavior | Jesse Luehrs | 2019-11-04 | 1 | -2/+2 |
| | |||||
* | decsc should also save graphic rendition and origin mode | Jesse Luehrs | 2019-11-03 | 1 | -2/+6 |
| | |||||
* | rename some methods | Jesse Luehrs | 2019-11-03 | 1 | -2/+2 |
| | |||||
* | 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 | 1 | -20/+7 |
| | |||||
* | simplify | Jesse Luehrs | 2019-11-03 | 1 | -10/+12 |
| | |||||
* | no reason to use references here | Jesse Luehrs | 2019-11-03 | 1 | -4/+4 |
| | |||||
* | use iterators in more places instead of raw indexing | Jesse Luehrs | 2019-11-02 | 1 | -63/+85 |
| | |||||
* | fix screen resizing | Jesse Luehrs | 2019-11-02 | 1 | -0/+11 |
| | |||||
* | implement origin mode | Jesse Luehrs | 2019-11-02 | 1 | -15/+30 |
| | |||||
* | implement window_contents_formatted | Jesse Luehrs | 2019-10-31 | 1 | -5/+13 |
| | |||||
* | implement zero-width and wide character handling | Jesse Luehrs | 2019-10-31 | 1 | -2/+2 |
| | |||||
* | implement ascii text wrapping | Jesse Luehrs | 2019-10-31 | 1 | -15/+27 |
| | |||||
* | fix bounds | Jesse Luehrs | 2019-10-31 | 1 | -1/+1 |
| |