Start work on specifying a color for extra cursors

This commit is contained in:
Kovid Goyal
2025-08-25 20:08:54 +05:30
parent 3239cec409
commit da641982e2
3 changed files with 76 additions and 17 deletions

View File

@@ -92,9 +92,15 @@ typedef struct ExtraCursor {
index_type cell;
} ExtraCursor;
typedef struct ExtraCursorColor {
color_type color;
bool is_set, is_none, is_lookup;
} ExtraCursorColor;
typedef struct ExtraCursors {
ExtraCursor *locations;
unsigned count, capacity;
struct { ExtraCursorColor cursor, text; } color;
bool dirty;
} ExtraCursors;