vt: initial implementation of alt screen + 256 colors

This commit is contained in:
Daniel Eklöf 2019-06-23 15:00:27 +02:00
parent 35e5fa1f76
commit 199e4aa044
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 170 additions and 41 deletions

View file

@ -61,6 +61,8 @@ struct grid {
bool print_needs_wrap;
struct cell *cells;
struct cell *normal_grid;
struct cell *alt_grid;
uint32_t foreground;
uint32_t background;