diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 13:03:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 13:03:22 +0000 |
| commit | de7dcf1a5c89bc296e5b96931cd0523b3b28c411 (patch) | |
| tree | bed4cf46b7e06f47b2505380f231fc2986f1a386 /terminal.h | |
| parent | vt: initial implementation of alt screen + 256 colors (diff) | |
csi: save and restore cursor when switching to and from alt screen
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -63,6 +63,10 @@ struct grid { struct cell *cells; struct cell *normal_grid; struct cell *alt_grid; + struct { + int row; + int col; + } alt_saved_cursor; uint32_t foreground; uint32_t background; |
