aboutsummaryrefslogtreecommitdiffstats
path: root/src/cell.rs
Commit message (Collapse)AuthorAgeFilesLines
* stop implementing Default for CellJesse Luehrs2023-03-091-1/+9
|
* simplifyJesse Luehrs2023-03-091-2/+2
|
* more conversion to indexingJesse Luehrs2021-12-151-4/+3
|
* let's actually stop being so aggressive hereJesse Luehrs2021-12-141-4/+4
|
* also stop using as castsJesse Luehrs2021-12-141-1/+1
|
* replace all uses of unwrap(), expect(), and indexing with unreachable!()Jesse Luehrs2021-12-141-5/+11
| | | | and also document why they are unreachable
* clean up clippy stuffJesse Luehrs2021-12-131-1/+0
|
* better (i think?) handling of weird character widthsJesse Luehrs2021-12-061-1/+1
| | | | | control codes are ignored completely, and everything else defaults to 1 instead of 0
* clippyJesse Luehrs2021-11-121-1/+1
|
* document a methodJesse Luehrs2021-03-061-0/+3
|
* clippyJesse Luehrs2020-02-091-0/+10
|
* try to micro-optimize getting cell contents a bitJesse Luehrs2019-12-071-1/+5
|
* actually, remove normalization entirelyJesse Luehrs2019-12-071-39/+0
| | | | | | | normalization has some weird edge cases that cause incorrect behavior, since we aren't implementing full grapheme segmentation (for instance, a single codepoint can be normalized into three different codepoints, and there are codepoints that are combining characters but have width != 0)
* ensure cells with contents always have widthJesse Luehrs2019-12-051-0/+4
| | | | it gets ambiguous where the zero-width characters should go otherwise
* track fullwidth continuation cells explicitlyJesse Luehrs2019-12-051-0/+12
| | | | this makes the logic a bit easier to follow
* make unicode normalization optionalJesse Luehrs2019-11-231-1/+12
| | | | | | it's not always necessary or desired, and adds quite a lot to the binary size (for instance, the problem it solves is pretty much non-existent in web browsers, and wasm builds are also very sensitive to code size)
* preserve all text attributes on cleared cellsJesse Luehrs2019-11-111-12/+5
| | | | | | | 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)
* remove set_len methodJesse Luehrs2019-11-111-6/+2
| | | | | it's not super necessary, since every time we use it we call set_wide directly afterwards
* cache wide character stateJesse Luehrs2019-11-101-16/+28
| | | | | | we always check the character width at least once during initial processing, and we often check it later at least once, so cache it here since we have spare bits
* optimize attribute setting a bitJesse Luehrs2019-11-101-3/+10
|
* use a fixed size buffer for cell dataJesse Luehrs2019-11-091-18/+60
| | | | this dramatically speeds things up
* another micro-optimizationJesse Luehrs2019-11-091-2/+4
|
* stop treating soft hyphen speciallyJesse Luehrs2019-11-081-1/+10
|
* clearing cells sets the background colorJesse Luehrs2019-11-081-1/+2
|
* add functionality for diffing two terminal screensJesse Luehrs2019-11-051-1/+1
|
* this method isn't usefulJesse Luehrs2019-11-051-5/+0
|
* docsJesse Luehrs2019-11-041-0/+19
|
* stop reallocating vecs so muchJesse Luehrs2019-11-041-2/+3
|
* reorderJesse Luehrs2019-11-031-4/+4
|
* simplifyJesse Luehrs2019-11-031-2/+2
|
* simplifyJesse Luehrs2019-11-031-2/+1
|
* use a bitset for text modes tooJesse Luehrs2019-11-031-4/+4
|
* implement window_contents_formattedJesse Luehrs2019-10-311-0/+4
|
* add normalization for unicode cell valuesJesse Luehrs2019-10-311-0/+8
|
* implement zero-width and wide character handlingJesse Luehrs2019-10-311-0/+13
|
* more passing testsJesse Luehrs2019-10-291-0/+4
|
* get some tests passingJesse Luehrs2019-10-291-27/+13
|
* start the rewriteJesse Luehrs2019-10-291-60/+34
|
* rustfmtJesse Luehrs2019-10-291-1/+1
|
* clippyJesse Luehrs2018-09-231-21/+7
|
* allow the attr ffi wrappers to be used on more than just cellsJesse Luehrs2016-04-271-4/+24
|
* fgcolor and bgcolor for the screenJesse Luehrs2016-04-271-8/+1
|
* implement the rest of the cell attrsJesse Luehrs2016-04-271-0/+26
|
* implement fgcolor and bgcolor for cellsJesse Luehrs2016-04-271-1/+30
|
* start implementing cellsJesse Luehrs2016-04-271-0/+30