| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| * | csi: repair DCH (delete character) | Daniel Eklöf | 2019-07-02 | -14/+14 | |
| | | | | | | The logic was simply broken. This fixes it, and also converts it to use the new "current line" pointer. | ||||
| * | csi: clear all existing alt damage when switch alt <--> normal | Daniel Eklöf | 2019-07-01 | -0/+6 | |
| | | |||||
| * | csi: erase alt screen when enabling it | Daniel Eklöf | 2019-07-01 | -1/+1 | |
| | | |||||
| * | csi: DECSTBM: move cursor to top left corner of scrolling region | Daniel Eklöf | 2019-07-01 | -0/+2 | |
| | | |||||
| * | wip: use a sliding window instead of memmove() to scroll | Daniel Eklöf | 2019-07-01 | -1/+1 | |
| | | | | | | 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 enabled | Daniel Eklöf | 2019-07-01 | -1/+1 | |
| | | |||||
| * | terminal: prepare for floating grids | Daniel Eklöf | 2019-06-29 | -7/+7 | |
| | | |||||
| * | terminal: move cursor from grid to terminal | Daniel Eklöf | 2019-06-29 | -31/+25 | |
| | | |||||
| * | terminal: move fore/background colors from grid to terminal | Daniel Eklöf | 2019-06-29 | -4/+4 | |
| | | |||||
| * | terminal: move col/row count, cell width/height and scroll region to terminal | Daniel Eklöf | 2019-06-29 | -28/+28 | |
| | | |||||
| * | Rename grid_* functions to term_* | Daniel Eklöf | 2019-06-29 | -29/+25 | |
| | | |||||
| * | colors: store as doubles, rather than uint32_t | Daniel Eklöf | 2019-06-26 | -29/+54 | |
| | | | | | | Since cairo uses doubles, we don't want to have to convert a uin32_t to double values every time we render a cell. | ||||
| * | grid: attributes now track whether we've set a foreground/background color | Daniel Eklöf | 2019-06-26 | -9/+17 | |
| | | | | | | | | | | This means we don't have to explicitly set the foreground/background to the grid's default colors whenever we reset/clear a cell, and we can instead simply memset() the entire cell to 0. This also means the renderer has to get the default color when rendering a cell without a foreground/background color set. | ||||
| * | scroll-region: don't clear damage queue when changing scroll region | Daniel Eklöf | 2019-06-25 | -28/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | csi: fix scrolling region end | Daniel Eklöf | 2019-06-24 | -1/+1 | |
| | | |||||
| * | csi: add function param_get() | Daniel Eklöf | 2019-06-24 | -58/+36 | |
| | | | | | | | | | Returns the value of parameter #idx, if available, or the specified default value. If the specified parameter does exist, but is 0, the default value is returned. | ||||
| * | csi: implement cursor horizontal absolute | Daniel Eklöf | 2019-06-24 | -0/+13 | |
| | | |||||
| * | csi: implement VPR (vertical line position relative) | Daniel Eklöf | 2019-06-24 | -0/+1 | |
| | | |||||
| * | csi: VPA: saturate row | Daniel Eklöf | 2019-06-24 | -0/+4 | |
| | | |||||
| * | csi: implement "send device attributes" | Daniel Eklöf | 2019-06-24 | -0/+21 | |
| | | |||||
| * | csi: recognize a bunch of ?h/l commands, log unimplemented | Daniel Eklöf | 2019-06-24 | -0/+32 | |
| | | |||||
| * | csi: implement VPA (vertical line position absolute) | Daniel Eklöf | 2019-06-24 | -0/+9 | |
| | | |||||
| * | csi: saturate row/col when setting cursor position | Daniel Eklöf | 2019-06-24 | -1/+5 | |
| | | |||||
| * | csi: fix cursor request response; add 1, not 2 | Daniel Eklöf | 2019-06-24 | -2/+3 | |
| | | |||||
| * | scrolling region: wip | Daniel Eklöf | 2019-06-23 | -4/+66 | |
| | | |||||
| * | csi: recognize, but do nothing, for civis, cvvis | Daniel Eklöf | 2019-06-23 | -0/+16 | |
| | | |||||
| * | csi: implement cursor query and respones | Daniel Eklöf | 2019-06-23 | -0/+29 | |
| | | |||||
| * | vt: wip: implement scrolling region | Daniel Eklöf | 2019-06-23 | -0/+15 | |
| | | | | | | | | | | | 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 characters | Daniel Eklöf | 2019-06-23 | -1/+1 | |
| | | |||||
| * | csi: save and restore cursor when switching to and from alt screen | Daniel Eklöf | 2019-06-23 | -2/+6 | |
| | | |||||
| * | vt: initial implementation of alt screen + 256 colors | Daniel Eklöf | 2019-06-23 | -37/+149 | |
| | | |||||
| * | vt: implement DECCKM (cursor key sends either SS3 or CSI escapes) | Daniel Eklöf | 2019-06-23 | -2/+2 | |
| | | |||||
| * | csi: implement 'CSI H' (set cursor position) | Daniel Eklöf | 2019-06-23 | -0/+9 | |
| | | |||||
| * | csi: include intermediates in debug logging | Daniel Eklöf | 2019-06-23 | -0/+3 | |
| | | |||||
| * | csi: wip: recognize the private CSIs for bracketed paste, smcup/rmxup, smkx/rmkx | Daniel Eklöf | 2019-06-22 | -4/+86 | |
| | | |||||
| * | csi: remove commented out debug logging | Daniel Eklöf | 2019-06-22 | -13/+2 | |
| | | |||||
| * | csi: sgr: treat CSI[m as CSI[0m (SGR reset) | Daniel Eklöf | 2019-06-22 | -10/+21 | |
| | | |||||
| * | csi: implement CSI Pn P (DCH - delete character) | Daniel Eklöf | 2019-06-22 | -24/+51 | |
| | | |||||
| * | csi: fix \e[B - it should move the cursor *down*, not up. | Daniel Eklöf | 2019-06-21 | -1/+2 | |
| | | |||||
| * | csi: fix line clearing; the erase range 'end' is exclusive | Daniel Eklöf | 2019-06-21 | -2/+7 | |
| | | |||||
| * | csi: dummy implementation of bright foreground/background colors | Daniel Eklöf | 2019-06-19 | -0/+24 | |
| | | | | | Re-use the regular colors for now | ||||
| * | wip: initial input handling | Daniel Eklöf | 2019-06-19 | -14/+87 | |
| | | |||||
| * | csi: CSI log messages are now single line | Daniel Eklöf | 2019-06-18 | -5/+24 | |
| | | |||||
| * | grid: track both linear and row,col cursor | Daniel Eklöf | 2019-06-17 | -7/+7 | |
| | | |||||
| * | wip: vt parsing: break out grid operating functions | Daniel Eklöf | 2019-06-17 | -27/+7 | |
| | | |||||
| * | wip: vt parsing | Daniel Eklöf | 2019-06-17 | -3/+77 | |
| | | |||||
| * | vt: cell now tracks attributes (bold, italic, underline etc) | Daniel Eklöf | 2019-06-16 | -42/+42 | |
| | | |||||
| * | wip: vt parsing: initial csi/osc dispatching | Daniel Eklöf | 2019-06-15 | -0/+87 | |
