aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fix up some more issues with row_formattedJesse Luehrs2021-11-193-14/+54
| | | | handle cursor positioning and wrapping a bit better
* remove special casing for combined character wrappingJesse Luehrs2021-11-191-13/+2
| | | | | | | 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 issuesJesse Luehrs2021-11-181-2/+11
|
* input validation for vpaJesse Luehrs2021-11-161-0/+7
|
* edition 2021Jesse Luehrs2021-11-163-3/+0
|
* expose some extra internal state to help reproduce line wrappingJesse Luehrs2021-11-162-92/+79
| | | | | | | | 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.
* reorder the functionsJesse Luehrs2021-11-121-6/+6
|
* add a function to return whether the alternate screen is in useJesse Luehrs2021-11-121-0/+6
|
* clippyJesse Luehrs2021-11-126-32/+34
|
* add Screen::state_formatted and Screen::state_diffJesse Luehrs2021-03-091-0/+26
|