mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04:00
csi: save and restore cursor when switching to and from alt screen
This commit is contained in:
parent
199e4aa044
commit
de7dcf1a5c
2 changed files with 10 additions and 2 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue