aboutsummaryrefslogtreecommitdiff
path: root/terminal.c (follow)
Commit message (Collapse)AuthorAgeLines
...
* vt: add support for mouse motion reportsDaniel Eklöf2019-07-05-20/+72
|
* vt: add support for \E[?1000h - report mouse button eventsDaniel Eklöf2019-07-05-0/+107
|
* term_erase(): erased cells get the currently selected background colorDaniel Eklöf2019-07-05-2/+24
|
* logging: disable debug logging by defaultDaniel Eklöf2019-07-03-1/+1
|
* scrolling: initial implementation of scrolling region when reverse scrollingDaniel Eklöf2019-07-03-2/+38
|
* scrolling: make sure we don't clear too much memoryDaniel Eklöf2019-07-03-1/+3
|
* scrolling: hopefully fix bad damage update of items outside scrolling regionDaniel Eklöf2019-07-03-4/+4
|
* scrolling: initial reverse scrolling support - no scroll regionsDaniel Eklöf2019-07-03-32/+14
|
* term: optimize damage list after scrollDaniel Eklöf2019-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 lineDaniel Eklöf2019-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 movementDaniel Eklöf2019-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 redrawDaniel Eklöf2019-07-02-0/+8
|
* term: 'end' variable is only used in assert()Daniel Eklöf2019-07-01-1/+1
|
* render: always render cursorDaniel Eklöf2019-07-01-2/+0
|
* scrolling: implement partial scrollingDaniel Eklöf2019-07-01-23/+45
|
* wip: use a sliding window instead of memmove() to scrollDaniel Eklöf2019-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 gridsDaniel Eklöf2019-06-29-22/+22
|
* terminal: move print_needs_wrap from grid to terminalDaniel Eklöf2019-06-29-1/+1
|
* terminal: move cursor from grid to terminalDaniel Eklöf2019-06-29-12/+12
|
* terminal: move col/row count, cell width/height and scroll region to terminalDaniel Eklöf2019-06-29-30/+30
|
* Rename grid_* functions to term_*Daniel Eklöf2019-06-29-0/+311