Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for CSI E/F (next and previous line) | Danny Weinberg | 2023-04-17 | 9 | -0/+60 |
| | | | | | | | | This adds support for the following two operations: - https://vt100.net/docs/vt510-rm/CNL.html - https://vt100.net/docs/vt510-rm/CPL.html While it looks like these weren't technically implemented in the vt100, it does seem that a number of modern terminals (iTerm2, Windows Terminal, as two examples) support them. | ||||
* | stop implementing Default for Cell | Jesse Luehrs | 2023-03-09 | 1 | -1/+3 |
| | |||||
* | bump deps | Jesse Luehrs | 2023-03-09 | 1 | -14/+24 |
| | |||||
* | implement callback for terminal resize request | Jesse Luehrs | 2023-03-09 | 1 | -0/+40 |
| | |||||
* | use callbacks for events rather than tracking counters | Jesse Luehrs | 2023-03-09 | 4 | -54/+44 |
| | |||||
* | allow getting a mutable screen, and move some operations there | Jesse Luehrs | 2023-03-09 | 2 | -19/+19 |
| | |||||
* | clippy | Jesse Luehrs | 2023-02-05 | 5 | -22/+16 |
| | |||||
* | clean up clippy stuff | Jesse Luehrs | 2021-12-13 | 4 | -6/+1 |
| | |||||
* | ensure that diffing a screen against itself always returns nothing | Jesse Luehrs | 2021-12-10 | 1 | -0/+2 |
| | |||||
* | better (i think?) handling of weird character widths | Jesse Luehrs | 2021-12-06 | 2 | -4/+4 |
| | | | | | control codes are ignored completely, and everything else defaults to 1 instead of 0 | ||||
* | add a binary to test vt100 state against a real terminal | Jesse Luehrs | 2021-12-06 | 1 | -4/+14 |
| | |||||
* | another parameter parsing bug | Jesse Luehrs | 2021-12-03 | 1 | -1/+2 |
| | |||||
* | fix receiving empty params | Jesse Luehrs | 2021-12-03 | 1 | -0/+8 |
| | |||||
* | another missing attribute setting | Jesse Luehrs | 2021-12-03 | 5 | -0/+46 |
| | |||||
* | we want to force wrapping here even if the cursor was already correct | Jesse Luehrs | 2021-12-03 | 5 | -0/+37 |
| | |||||
* | scrolling down should clear the last row's wrap flag | Jesse Luehrs | 2021-12-03 | 3 | -0/+14 |
| | |||||
* | fix wrapping while scrolling inside the scroll region too | Jesse Luehrs | 2021-12-03 | 3 | -0/+17 |
| | |||||
* | handle scrolling outside of a scroll region | Jesse Luehrs | 2021-12-03 | 51 | -64/+1767 |
| | | | | | | it shouldn't scroll the scroll region if you wrap off the end of the whole terminal outside of the scroll region. also, that kind of non-wrap shouldn't set the wrap flag | ||||
* | wide continuation cells should not have attributes | Jesse Luehrs | 2021-12-03 | 3 | -0/+20 |
| | | | | it confuses things like cell insertion | ||||
* | fix test code | Jesse Luehrs | 2021-12-03 | 4 | -0/+16 |
| | |||||
* | fix cell attrs when wrapped but no first cell contents on next line | Jesse Luehrs | 2021-12-03 | 3 | -0/+15 |
| | |||||
* | fix keeping cursor past end of line with diffs | Jesse Luehrs | 2021-12-03 | 5 | -0/+31 |
| | |||||
* | another wide char/line wrapping edge case | Jesse Luehrs | 2021-12-03 | 3 | -0/+22 |
| | |||||
* | more wrapping bugs | Jesse Luehrs | 2021-11-20 | 5 | -0/+47 |
| | |||||
* | only do wrapping logic during diff if we weren't wrapping before | Jesse Luehrs | 2021-11-20 | 5 | -0/+38 |
| | |||||
* | more cursor_state_formatted fixes | Jesse Luehrs | 2021-11-20 | 3 | -0/+15 |
| | |||||
* | make sure all of these cases are handled the same | Jesse Luehrs | 2021-11-20 | 3 | -0/+7691 |
| | |||||
* | also explicitly test wrapped states | Jesse Luehrs | 2021-11-20 | 1 | -0/+3 |
| | |||||
* | more wrapping + el bugs | Jesse Luehrs | 2021-11-20 | 3 | -0/+23 |
| | |||||
* | fix another attribute issue with cursor_state_formatted | Jesse Luehrs | 2021-11-19 | 3 | -0/+331 |
| | |||||
* | more line wrapping bugs | Jesse Luehrs | 2021-11-19 | 4 | -0/+23 |
| | |||||
* | fix up some more issues with row_formatted | Jesse Luehrs | 2021-11-19 | 3 | -0/+19 |
| | | | | handle cursor positioning and wrapping a bit better | ||||
* | 127 is also a control character | Jesse Luehrs | 2021-11-19 | 1 | -1/+3 |
| | |||||
* | remove special casing for combined character wrapping | Jesse Luehrs | 2021-11-19 | 8 | -2/+46 |
| | | | | | | | the comment here is just... not true? not really sure why i thought it was, but testing on all of alacritty, xterm, and tmux show the opposite behavior to what is in the comment, so i'm going to assume this is just wrong | ||||
* | fix some line wrapping state issues | Jesse Luehrs | 2021-11-18 | 5 | -0/+508 |
| | |||||
* | add fuzzer input generator | Jesse Luehrs | 2021-11-18 | 1 | -0/+59 |
| | |||||
* | forgot some generated files | Jesse Luehrs | 2021-11-16 | 2 | -0/+9 |
| | |||||
* | input validation for vpa | Jesse Luehrs | 2021-11-16 | 15 | -15/+26 |
| | |||||
* | edition 2021 | Jesse Luehrs | 2021-11-16 | 1 | -2/+0 |
| | |||||
* | expose some extra internal state to help reproduce line wrapping | Jesse Luehrs | 2021-11-16 | 1 | -5/+80 |
| | | | | | | | | adds `row_wrapped` and `cursor_state_formatted` to allow you to better recreate the internal state of the cursor when using `rows_formatted`. also make `rows_formatted` keep track of the wrapping state itself, since there are some edge cases that aren't really able to easily be tracked externally. | ||||
* | clippy | Jesse Luehrs | 2021-11-16 | 4 | -16/+16 |
| | |||||
* | add Screen::state_formatted and Screen::state_diff | Jesse Luehrs | 2021-03-09 | 1 | -0/+2 |
| | |||||
* | fix attributes_formatted, remove attributes_diff | Jesse Luehrs | 2021-03-09 | 1 | -0/+12 |
| | | | | also improve the documentation and add more tests | ||||
* | add a Write implementation for Parser | Jesse Luehrs | 2021-03-06 | 1 | -0/+60 |
| | |||||
* | test subparameter behavior | Jesse Luehrs | 2021-03-05 | 7 | -0/+66 |
| | |||||
* | add contents_between, for things like clipboard selections | Jesse Luehrs | 2020-05-11 | 1 | -0/+34 |
| | |||||
* | clippy | Jesse Luehrs | 2020-02-09 | 1 | -1/+1 |
| | |||||
* | add a basic quickcheck test | Jesse Luehrs | 2019-12-07 | 1 | -0/+145 |
| | |||||
* | fix positioning cursor past end of line when there are wide characters | Jesse Luehrs | 2019-12-07 | 3 | -0/+23 |
| | |||||
* | clear wide characters if they get half-scrolled off the right | Jesse Luehrs | 2019-12-07 | 3 | -0/+10 |
| |