| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| * | vt: add support for mouse motion reports | Daniel Eklöf | 2019-07-05 | -20/+72 | |
| | | |||||
| * | vt: add support for \E[?1000h - report mouse button events | Daniel Eklöf | 2019-07-05 | -0/+107 | |
| | | |||||
| * | term_erase(): erased cells get the currently selected background color | Daniel Eklöf | 2019-07-05 | -2/+24 | |
| | | |||||
| * | logging: disable debug logging by default | Daniel Eklöf | 2019-07-03 | -1/+1 | |
| | | |||||
| * | scrolling: initial implementation of scrolling region when reverse scrolling | Daniel Eklöf | 2019-07-03 | -2/+38 | |
| | | |||||
| * | scrolling: make sure we don't clear too much memory | Daniel Eklöf | 2019-07-03 | -1/+3 | |
| | | |||||
| * | scrolling: hopefully fix bad damage update of items outside scrolling region | Daniel Eklöf | 2019-07-03 | -4/+4 | |
| | | |||||
| * | scrolling: initial reverse scrolling support - no scroll regions | Daniel Eklöf | 2019-07-03 | -32/+14 | |
| | | |||||
| * | term: optimize damage list after scroll | Daniel Eklöf | 2019-07-03 | -0/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | This optimizes the normal scrolling case; updates are done at the bottom of the screen and then scrolled up. In this case, the damage list will be a more or less sorted list of updates, oldest first. If we're scrolling a lot, the oldest updates will eventually scroll off screen. In this case, there's no need to keep them in the damage list. So, when scrolling, loop the damage list and adjust/remove updates that have scrolled off screen (either partially, or completely). Stop looping as soon as we see an update that has *not* scrolled off screen. Note that this means there may be update items in the damage list that *has* scrolled off screen. This is especially true for random screen writes (i.e. typical to some synthetic benchmarks). | ||||
| * | term: "cache" pointer to current line | Daniel Eklöf | 2019-07-02 | -0/+12 | |
| | | | | | | | | | This adds a pointer to the first cell on the current line. This pointer must be updated every time the row changes. The advantage is mainly that PRINT doesn't have to call grid_get_range(), which is fairly expensive. | ||||
| * | term: simplify horizontal cursor movement | Daniel Eklöf | 2019-07-02 | -2/+6 | |
| | | | | | | | Since horizontal cursor movement is clamped to the current line, we can calculate the new linear cursor without any expensive multiplications and/or divisions. | ||||
| * | term: if the damage list gets too long, replace with a full redraw | Daniel Eklöf | 2019-07-02 | -0/+8 | |
| | | |||||
| * | term: 'end' variable is only used in assert() | Daniel Eklöf | 2019-07-01 | -1/+1 | |
| | | |||||
| * | render: always render cursor | Daniel Eklöf | 2019-07-01 | -2/+0 | |
| | | |||||
| * | scrolling: implement partial scrolling | Daniel Eklöf | 2019-07-01 | -23/+45 | |
| | | |||||
| * | wip: use a sliding window instead of memmove() to scroll | Daniel Eklöf | 2019-07-01 | -79/+41 | |
| | | | | | | Instead of memmoving a large amount of data on every scroll, use a sliding window. That is, each time we scroll, we offset origin. | ||||
| * | terminal: prepare for floating grids | Daniel Eklöf | 2019-06-29 | -22/+22 | |
| | | |||||
| * | terminal: move print_needs_wrap from grid to terminal | Daniel Eklöf | 2019-06-29 | -1/+1 | |
| | | |||||
| * | terminal: move cursor from grid to terminal | Daniel Eklöf | 2019-06-29 | -12/+12 | |
| | | |||||
| * | terminal: move col/row count, cell width/height and scroll region to terminal | Daniel Eklöf | 2019-06-29 | -30/+30 | |
| | | |||||
| * | Rename grid_* functions to term_* | Daniel Eklöf | 2019-06-29 | -0/+311 | |
