Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docs | Jesse Luehrs | 2019-11-13 | 1 | -2/+21 |
| | |||||
* | split formatted calculations into multiple methods | Jesse Luehrs | 2019-11-12 | 2 | -29/+344 |
| | | | | | different applications want to be able to apply different things, so this gives more control | ||||
* | actually resize the underlying grid when requested | Jesse Luehrs | 2019-11-12 | 1 | -0/+8 |
| | |||||
* | make contents_diff include bell state | Jesse Luehrs | 2019-11-12 | 2 | -2/+36 |
| | | | | i don't think it makes sense for contents_formatted to include this | ||||
* | remove parser.screen_mut | Jesse Luehrs | 2019-11-12 | 2 | -54/+46 |
| | | | | | | it's easier to reason about if you are only able to get an immutable reference to the internal screen. this also required changing the api for bells. | ||||
* | make sure i don't accidentally forget to write_buf | Jesse Luehrs | 2019-11-11 | 1 | -0/+10 |
| | |||||
* | optimize erases a bit more | Jesse Luehrs | 2019-11-11 | 2 | -34/+107 |
| | |||||
* | a few more movement tweaks | Jesse Luehrs | 2019-11-11 | 2 | -7/+3 |
| | |||||
* | actually, this method isn't necessary at all | Jesse Luehrs | 2019-11-11 | 1 | -22/+13 |
| | |||||
* | actually remove the last bgcolor special case | Jesse Luehrs | 2019-11-11 | 1 | -2/+2 |
| | |||||
* | factor out cursor movement logic | Jesse Luehrs | 2019-11-11 | 2 | -27/+37 |
| | |||||
* | remove comment | Jesse Luehrs | 2019-11-11 | 1 | -1/+0 |
| | |||||
* | comment | Jesse Luehrs | 2019-11-11 | 1 | -0/+3 |
| | |||||
* | stop special-casing bgcolor in one more place | Jesse Luehrs | 2019-11-11 | 1 | -3/+2 |
| | |||||
* | preserve all text attributes on cleared cells | Jesse Luehrs | 2019-11-11 | 5 | -71/+46 |
| | | | | | | | 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 method | Jesse Luehrs | 2019-11-11 | 1 | -6/+2 |
| | | | | | it's not super necessary, since every time we use it we call set_wide directly afterwards | ||||
* | allow cognitive_complexity everywhere | Jesse Luehrs | 2019-11-11 | 2 | -1/+2 |
| | |||||
* | stop using formats at all | Jesse Luehrs | 2019-11-11 | 5 | -126/+79 |
| | | | | they are too slow | ||||
* | cache wide character state | Jesse Luehrs | 2019-11-10 | 1 | -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 | ||||
* | simplify | Jesse Luehrs | 2019-11-10 | 1 | -57/+41 |
| | |||||
* | update crate docs a bit | Jesse Luehrs | 2019-11-10 | 1 | -4/+17 |
| | |||||
* | docs | Jesse Luehrs | 2019-11-10 | 1 | -0/+1 |
| | |||||
* | add Default impl for Parser | Jesse Luehrs | 2019-11-10 | 1 | -0/+6 |
| | |||||
* | docs | Jesse Luehrs | 2019-11-10 | 2 | -9/+25 |
| | |||||
* | remove the scroll_to and scroll_pos methods | Jesse Luehrs | 2019-11-10 | 1 | -8/+0 |
| | | | | | they are unnecessary, you can just call the methods on the screen object directly | ||||
* | simplify | Jesse Luehrs | 2019-11-10 | 3 | -21/+4 |
| | |||||
* | optimize attribute setting a bit | Jesse Luehrs | 2019-11-10 | 6 | -27/+86 |
| | |||||
* | optimize cursor movement a bit | Jesse Luehrs | 2019-11-10 | 4 | -86/+157 |
| | |||||
* | shuffle around some methods | Jesse Luehrs | 2019-11-10 | 1 | -8/+8 |
| | |||||
* | implement scrolling back | Jesse Luehrs | 2019-11-09 | 4 | -38/+91 |
| | |||||
* | optionally save scrollback rows | Jesse Luehrs | 2019-11-09 | 3 | -11/+33 |
| | |||||
* | missed one | Jesse Luehrs | 2019-11-09 | 1 | -1/+4 |
| | |||||
* | use a fixed size buffer for cell data | Jesse Luehrs | 2019-11-09 | 2 | -19/+61 |
| | | | | this dramatically speeds things up | ||||
* | another micro-optimization | Jesse Luehrs | 2019-11-09 | 2 | -3/+5 |
| | |||||
* | refactor terminal writing | Jesse Luehrs | 2019-11-09 | 6 | -173/+486 |
| | |||||
* | remove unnecessary accessors | Jesse Luehrs | 2019-11-08 | 1 | -52/+0 |
| | | | | nobody should be caring about the terminal state internals | ||||
* | ignore the scroll region when moving if we're already outside of it | Jesse Luehrs | 2019-11-08 | 1 | -4/+12 |
| | |||||
* | contents_formatted should also reset attributes | Jesse Luehrs | 2019-11-08 | 1 | -1/+1 |
| | | | | for the same reason as contents_diff | ||||
* | stop treating soft hyphen specially | Jesse Luehrs | 2019-11-08 | 4 | -21/+12 |
| | |||||
* | don't leave old character data in the second cell of a wide character | Jesse Luehrs | 2019-11-08 | 1 | -1/+7 |
| | | | | | | otherwise it might confuse the diffing algorithm if a non-wide character is written there and then it goes back to being the second cell of a wide character | ||||
* | VPA should not be restricted to the scroll region | Jesse Luehrs | 2019-11-08 | 1 | -2/+0 |
| | | | | since it is absolute positioning | ||||
* | fix RI at the top of the screen | Jesse Luehrs | 2019-11-08 | 1 | -1/+8 |
| | |||||
* | fix wide character handling in contents_formatted and contents_diff | Jesse Luehrs | 2019-11-08 | 1 | -8/+22 |
| | |||||
* | clearing cells sets the background color | Jesse Luehrs | 2019-11-08 | 4 | -30/+39 |
| | |||||
* | actually, we do need to always reset the hide cursor state | Jesse Luehrs | 2019-11-06 | 1 | -3/+5 |
| | |||||
* | also add a rows_diff method | Jesse Luehrs | 2019-11-06 | 3 | -3/+37 |
| | |||||
* | make row.contents_diff not require the row index | Jesse Luehrs | 2019-11-06 | 2 | -14/+8 |
| | |||||
* | docs | Jesse Luehrs | 2019-11-06 | 1 | -1/+11 |
| | |||||
* | stop pretending to support left/right scroll regions | Jesse Luehrs | 2019-11-06 | 2 | -30/+10 |
| | |||||
* | contents_formatted should additionally clear the screen | Jesse Luehrs | 2019-11-06 | 1 | -1/+1 |
| |