mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-17 05:33:52 -04:00
grid: track both linear and row,col cursor
This commit is contained in:
parent
963b266cce
commit
50c43be0d9
6 changed files with 95 additions and 27 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue