diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-17 19:15:20 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-17 19:15:20 +0000 |
| commit | 50c43be0d9729c20b1daa7a1303ca247aed2bb9e (patch) | |
| tree | e46ec16f795b5647cd09e86725dacb559ac538ea /terminal.h | |
| parent | vt: handle cursor-at-right-edge (diff) | |
grid: track both linear and row,col cursor
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -28,8 +28,13 @@ struct grid { int cell_width; int cell_height; - int cursor; + int linear_cursor; + struct { + int row; + int col; + } cursor; bool print_needs_wrap; + struct cell *cells; uint32_t foreground; |
