aboutsummaryrefslogtreecommitdiff
path: root/vt.c (follow)
Commit message (Collapse)AuthorAgeLines
* vt: no need to clear temporary utf8 buffer after printing itDaniel Eklöf2019-07-01-1/+0
|
* wip: use a sliding window instead of memmove() to scrollDaniel Eklöf2019-07-01-1/+5
| | | | | Instead of memmoving a large amount of data on every scroll, use a sliding window. That is, each time we scroll, we offset origin.
* vt: only prep logging of CSI/ESC parameters when debug logging is enabledDaniel Eklöf2019-07-01-1/+1
|
* terminal: prepare for floating gridsDaniel Eklöf2019-06-29-1/+1
|
* terminal: move print_needs_wrap from grid to terminalDaniel Eklöf2019-06-29-2/+2
|
* terminal: move cursor from grid to terminalDaniel Eklöf2019-06-29-10/+10
|
* terminal: move col/row count, cell width/height and scroll region to terminalDaniel Eklöf2019-06-29-3/+3
|
* Rename grid_* functions to term_*Daniel Eklöf2019-06-29-11/+11
|
* vt: dummy implementation of of "ESC (B" (character charset)Daniel Eklöf2019-06-29-0/+21
|
* vt: execute: implement HT - horizontal tabDaniel Eklöf2019-06-26-1/+13
|
* scroll-region: don't clear damage queue when changing scroll regionDaniel Eklöf2019-06-25-2/+2
| | | | | | | | | | | | | | | | | | | | | | Vim, for example, changes the scroll region every time you scroll a single line. Thus, resetting the damage queue is slow. This reworks the damage handling of scroll updates: * Split damage queue into two: one for scroll operations and one for update/erase operations. * Don't separate update/erase operations inside/outside the scroll region * Store the current scroll region in the scroll damage operation. This allows us to stack multiple scroll operations with different scroll regions. * When updating update/erase operations after a scroll operation, split the update/erase operations if necessary (the current scroll operation may have a scroll region different from before, thus forcing us to split existing update/erase operations. * The renderer no longer erases after a scroll. The scroll operation also adds an erase operation. This also means that erase operation are subject to adjustments by later scroll operations.
* scrolling region: wipDaniel Eklöf2019-06-23-3/+2
|
* vt: wip: implement scrolling regionDaniel Eklöf2019-06-23-2/+2
| | | | | | | | | | 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.
* csi/vt: fix logging of intermediate charactersDaniel Eklöf2019-06-23-1/+1
|
* vt: implement reverse scrolling (terminfo 'ri')Daniel Eklöf2019-06-23-0/+5
| | | | | This currently duplicates the code paths for DAMAGE_SCROLL; there are many similarities between the two, but also major differences...
* vt: dummy implementation of ESC dispatchDaniel Eklöf2019-06-23-1/+37
|
* vt: add all (?) missing states, actions and transitionsDaniel Eklöf2019-06-23-100/+516
|
* vt: add missing entry action for ESCAPEDaniel Eklöf2019-06-22-1/+1
|
* vt: add missing transition from state ESCAPE -> CSI DISPATCHDaniel Eklöf2019-06-22-0/+1
|
* grid: implement DAMAGE_SCROLLDaniel Eklöf2019-06-21-2/+3
|
* Use a 'damage' list to communicate what needs to be updatedDaniel Eklöf2019-06-19-4/+2
| | | | | | | | | | 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-7/+5
|
* wip: initial scrolling support (no scrollback though)Daniel Eklöf2019-06-19-2/+12
|
* wip: initial input handlingDaniel Eklöf2019-06-19-1/+13
|
* vt: fix utf-8 bug: re-load 'current state' after processing a utf8 byteDaniel Eklöf2019-06-18-0/+5
|
* vt: disable the worst spamming loggingDaniel Eklöf2019-06-18-3/+4
|
* grid: track both linear and row,col cursorDaniel Eklöf2019-06-17-8/+6
|
* vt: handle cursor-at-right-edgeDaniel Eklöf2019-06-17-2/+9
| | | | | | 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-9/+6
|
* wip: vt parsingDaniel Eklöf2019-06-17-2/+13
|
* vt: cell now tracks attributes (bold, italic, underline etc)Daniel Eklöf2019-06-16-2/+1
|
* wip: vt parsing: initial csi/osc dispatchingDaniel Eklöf2019-06-15-0/+314