diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-04-20 05:16:18 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-04-26 08:46:39 +0000 |
| commit | 624c383a1f45a4fbd5ebf687613c509e6c22d909 (patch) | |
| tree | 8e756d919e0e0d7e937cc3552ebafad1c7c8b6d6 /config.h | |
| parent | config: refactor: break out 'colors' to a color_theme struct (diff) | |
config: move cursor.color to colors.cursor
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -149,7 +149,12 @@ struct color_theme { ALPHA_MODE_DEFAULT, ALPHA_MODE_MATCHING, ALPHA_MODE_ALL - } alpha_mode; + } alpha_mode; + + struct { + uint32_t text; + uint32_t cursor; + } cursor; struct { uint32_t fg; @@ -174,6 +179,7 @@ struct color_theme { } search_box; struct { + bool cursor:1; bool selection:1; bool jump_label:1; bool scrollback_indicator:1; @@ -306,10 +312,6 @@ struct config { bool enabled; uint32_t rate_ms; } blink; - struct { - uint32_t text; - uint32_t cursor; - } color; struct pt_or_px beam_thickness; struct pt_or_px underline_thickness; } cursor; |
