aboutsummaryrefslogtreecommitdiff
path: root/grid.c (follow)
Commit message (Collapse)AuthorAgeLines
* grid: scroll: fix start/end for erase regionDaniel Eklöf2019-06-24-3/+4
|
* scrolling region: wipDaniel Eklöf2019-06-23-44/+95
|
* vt: wip: implement scrolling regionDaniel Eklöf2019-06-23-29/+21
| | | | | | | | | | This is largely untested, but existing scrolling code has been converted to using a terminal-global scrolling region that is defined as start-end of the scrollable region. This is compared to the old code where the scrolling region where defined in terms of marginals, counted in lines from top and from bottom.
* vt: implement reverse scrolling (terminfo 'ri')Daniel Eklöf2019-06-23-21/+74
| | | | | This currently duplicates the code paths for DAMAGE_SCROLL; there are many similarities between the two, but also major differences...
* grid: implement DAMAGE_SCROLLDaniel Eklöf2019-06-21-10/+79
|
* render: break up grid_render()Daniel Eklöf2019-06-19-1/+2
|
* Use a 'damage' list to communicate what needs to be updatedDaniel Eklöf2019-06-19-8/+85
| | | | | | | | | | Instead of having each cell in the grid track it's own dirtiness, grid operations now append "damage" to a list. This list is consumed every time we render the grid. This allows us to special case some operations, like erase (and in the future, scroll).
* grid: erase: memset() the entire range in one callDaniel Eklöf2019-06-19-3/+5
|
* wip: initial scrolling support (no scrollback though)Daniel Eklöf2019-06-19-0/+24
|
* wip: initial input handlingDaniel Eklöf2019-06-19-30/+14
|
* grid: track both linear and row,col cursorDaniel Eklöf2019-06-17-7/+66
|
* vt: handle cursor-at-right-edgeDaniel Eklöf2019-06-17-0/+1
| | | | | | When printing to the right-most-cell, don't advance the cursor. Instead, set a flag that indicates that the *next* print should line-wrap.
* wip: vt parsing: break out grid operating functionsDaniel Eklöf2019-06-17-0/+34