aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* clippyHEADmainJesse Luehrs2023-08-065-19/+17
|
* Add support for CSI E/F (next and previous line)Danny Weinberg2023-04-172-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 bitJesse Luehrs2023-03-094-81/+86
|
* remove Perform implementation from the screen directlyJesse Luehrs2023-03-095-279/+293
| | | | | now that people can get mutable screens, this exposes api surface that i don't really want
* stop implementing Default for CellJesse Luehrs2023-03-093-6/+14
|
* typoJesse Luehrs2023-03-091-1/+1
|
* implement callback for terminal resize requestJesse Luehrs2023-03-093-0/+31
|
* use callbacks for events rather than tracking countersJesse Luehrs2023-03-096-108/+95
|
* simplifyJesse Luehrs2023-03-096-94/+77
|
* allow getting a mutable screen, and move some operations thereJesse Luehrs2023-03-092-25/+23
|
* clippyJesse Luehrs2023-02-052-55/+57
|
* more clippy consistencyJesse Luehrs2021-12-151-0/+1
|
* bump itoaJesse Luehrs2021-12-151-11/+10
|
* more conversion to indexingJesse Luehrs2021-12-152-14/+11
|
* let's actually stop being so aggressive hereJesse Luehrs2021-12-146-64/+58
|
* more clippy consistencyJesse Luehrs2021-12-141-0/+1
|
* more standardization on clippy lintsJesse Luehrs2021-12-141-1/+1
|
* also stop using as castsJesse Luehrs2021-12-145-47/+53
|
* replace all uses of unwrap(), expect(), and indexing with unreachable!()Jesse Luehrs2021-12-146-56/+264
| | | | and also document why they are unreachable
* remove current_cell/current_cell_mutJesse Luehrs2021-12-142-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 conditionJesse Luehrs2021-12-141-15/+6
| | | | | we already wrapped (by calling col_wrap) so pos.col will always be less than size.cols
* be a bit more explicitJesse Luehrs2021-12-141-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 ownJesse Luehrs2021-12-142-51/+31
|
* be a bit smarter about typesJesse Luehrs2021-12-142-23/+23
|
* clean up clippy stuffJesse Luehrs2021-12-135-11/+3
|
* fix restoring the cursor position when scrolled backJesse Luehrs2021-12-131-5/+5
|
* ensure that diffing a screen against itself always returns nothingJesse Luehrs2021-12-103-0/+6
|
* add Screen::errorsJesse Luehrs2021-12-061-0/+23
|
* better (i think?) handling of weird character widthsJesse Luehrs2021-12-062-2/+7
| | | | | control codes are ignored completely, and everything else defaults to 1 instead of 0
* delay allocation of the alternate screenJesse Luehrs2021-12-042-2/+16
|
* another parameter parsing bugJesse Luehrs2021-12-031-1/+1
|
* fix receiving empty paramsJesse Luehrs2021-12-031-5/+5
|
* another missing attribute settingJesse Luehrs2021-12-031-0/+5
|
* we want to force wrapping here even if the cursor was already correctJesse Luehrs2021-12-031-2/+1
|
* scrolling down should clear the last row's wrap flagJesse Luehrs2021-12-031-0/+2
|
* fix wrapping while scrolling inside the scroll region tooJesse Luehrs2021-12-031-4/+5
|
* handle scrolling outside of a scroll regionJesse Luehrs2021-12-031-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 attributesJesse Luehrs2021-12-031-1/+1
| | | | it confuses things like cell insertion
* fix cell attrs when wrapped but no first cell contents on next lineJesse Luehrs2021-12-031-0/+11
|
* fix keeping cursor past end of line with diffsJesse Luehrs2021-12-031-2/+4
|
* another wide char/line wrapping edge caseJesse Luehrs2021-12-031-6/+12
|
* more wrapping bugsJesse Luehrs2021-11-202-2/+2
|
* only do wrapping logic during diff if we weren't wrapping beforeJesse Luehrs2021-11-201-1/+1
|
* i... don't think this conditional ever did anything?Jesse Luehrs2021-11-201-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
* simplifyJesse Luehrs2021-11-201-31/+18
|
* more cursor_state_formatted fixesJesse Luehrs2021-11-201-0/+23
|
* make sure all of these cases are handled the sameJesse Luehrs2021-11-201-3/+22
|
* more wrapping + el bugsJesse Luehrs2021-11-201-6/+43
|
* fix another attribute issue with cursor_state_formattedJesse Luehrs2021-11-191-0/+13
|
* more line wrapping bugsJesse Luehrs2021-11-191-1/+1
|