Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clippyHEADmain | Jesse Luehrs | 2023-08-06 | 5 | -19/+17 |
| | |||||
* | Add support for CSI E/F (next and previous line) | Danny Weinberg | 2023-04-17 | 2 | -0/+14 |
| | | | | | | | | 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. | ||||
* | reorganize a bit | Jesse Luehrs | 2023-03-09 | 4 | -81/+86 |
| | |||||
* | remove Perform implementation from the screen directly | Jesse Luehrs | 2023-03-09 | 5 | -279/+293 |
| | | | | | now that people can get mutable screens, this exposes api surface that i don't really want | ||||
* | stop implementing Default for Cell | Jesse Luehrs | 2023-03-09 | 3 | -6/+14 |
| | |||||
* | typo | Jesse Luehrs | 2023-03-09 | 1 | -1/+1 |
| | |||||
* | implement callback for terminal resize request | Jesse Luehrs | 2023-03-09 | 3 | -0/+31 |
| | |||||
* | use callbacks for events rather than tracking counters | Jesse Luehrs | 2023-03-09 | 6 | -108/+95 |
| | |||||
* | simplify | Jesse Luehrs | 2023-03-09 | 6 | -94/+77 |
| | |||||
* | allow getting a mutable screen, and move some operations there | Jesse Luehrs | 2023-03-09 | 2 | -25/+23 |
| | |||||
* | clippy | Jesse Luehrs | 2023-02-05 | 2 | -55/+57 |
| | |||||
* | more clippy consistency | Jesse Luehrs | 2021-12-15 | 1 | -0/+1 |
| | |||||
* | bump itoa | Jesse Luehrs | 2021-12-15 | 1 | -11/+10 |
| | |||||
* | more conversion to indexing | Jesse Luehrs | 2021-12-15 | 2 | -14/+11 |
| | |||||
* | let's actually stop being so aggressive here | Jesse Luehrs | 2021-12-14 | 6 | -64/+58 |
| | |||||
* | more clippy consistency | Jesse Luehrs | 2021-12-14 | 1 | -0/+1 |
| | |||||
* | more standardization on clippy lints | Jesse Luehrs | 2021-12-14 | 1 | -1/+1 |
| | |||||
* | also stop using as casts | Jesse Luehrs | 2021-12-14 | 5 | -47/+53 |
| | |||||
* | replace all uses of unwrap(), expect(), and indexing with unreachable!() | Jesse Luehrs | 2021-12-14 | 6 | -56/+264 |
| | | | | and also document why they are unreachable | ||||
* | remove current_cell/current_cell_mut | Jesse Luehrs | 2021-12-14 | 2 | -15/+6 |
| | | | | | | | it had an unstated precondition that the cursor was not positioned off the end of a row, which happened to be true in all existing uses, but was hard to verify. moving the unwrap out to the call site makes it easier to audit each use. | ||||
* | remove unnecessary condition | Jesse Luehrs | 2021-12-14 | 1 | -15/+6 |
| | | | | | we already wrapped (by calling col_wrap) so pos.col will always be less than size.cols | ||||
* | be a bit more explicit | Jesse Luehrs | 2021-12-14 | 1 | -4/+7 |
| | | | | | this was also true before, but it was extremely non-obvious, and it should be more obvious | ||||
* | just pass in the row on its own | Jesse Luehrs | 2021-12-14 | 2 | -51/+31 |
| | |||||
* | be a bit smarter about types | Jesse Luehrs | 2021-12-14 | 2 | -23/+23 |
| | |||||
* | clean up clippy stuff | Jesse Luehrs | 2021-12-13 | 5 | -11/+3 |
| | |||||
* | fix restoring the cursor position when scrolled back | Jesse Luehrs | 2021-12-13 | 1 | -5/+5 |
| | |||||
* | ensure that diffing a screen against itself always returns nothing | Jesse Luehrs | 2021-12-10 | 3 | -0/+6 |
| | |||||
* | add Screen::errors | Jesse Luehrs | 2021-12-06 | 1 | -0/+23 |
| | |||||
* | better (i think?) handling of weird character widths | Jesse Luehrs | 2021-12-06 | 2 | -2/+7 |
| | | | | | control codes are ignored completely, and everything else defaults to 1 instead of 0 | ||||
* | delay allocation of the alternate screen | Jesse Luehrs | 2021-12-04 | 2 | -2/+16 |
| | |||||
* | another parameter parsing bug | Jesse Luehrs | 2021-12-03 | 1 | -1/+1 |
| | |||||
* | fix receiving empty params | Jesse Luehrs | 2021-12-03 | 1 | -5/+5 |
| | |||||
* | 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 |
| | |||||
* | scrolling down should clear the last row's wrap flag | Jesse Luehrs | 2021-12-03 | 1 | -0/+2 |
| | |||||
* | fix wrapping while scrolling inside the scroll region too | Jesse Luehrs | 2021-12-03 | 1 | -4/+5 |
| | |||||
* | handle scrolling outside of a scroll region | Jesse Luehrs | 2021-12-03 | 1 | -4/+13 |
| | | | | | | 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 | 1 | -1/+1 |
| | | | | it confuses things like cell insertion | ||||
* | 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 |
| | |||||
* | another wide char/line wrapping edge case | Jesse Luehrs | 2021-12-03 | 1 | -6/+12 |
| | |||||
* | more wrapping bugs | Jesse Luehrs | 2021-11-20 | 2 | -2/+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 | ||||
* | simplify | Jesse Luehrs | 2021-11-20 | 1 | -31/+18 |
| | |||||
* | more cursor_state_formatted fixes | Jesse Luehrs | 2021-11-20 | 1 | -0/+23 |
| | |||||
* | 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 another attribute issue with cursor_state_formatted | Jesse Luehrs | 2021-11-19 | 1 | -0/+13 |
| | |||||
* | more line wrapping bugs | Jesse Luehrs | 2021-11-19 | 1 | -1/+1 |
| |