diff options
author | Phil Jones <philj56@gmail.com> | 2022-07-30 09:17:52 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-07-30 09:17:52 +0100 |
commit | 655bde52896b4d6995d0c1b349a7f34d0bb221b1 (patch) | |
tree | 3ae9c5ef8e7138bdb9356ce0a237427d5c843a0c /src/entry.h | |
parent | 87757b4f0fe9dad041546d0c86a83d918c0aae92 (diff) |
Add option to colour matching portion of results.
This was done by breaking the selected result into three parts, and
rendering each separately. A side-effect is that ligatures split when a
match ends inside them, but I think that's the correct behaviour (rather
than highlighting the whole ligature).
There may be issues with some non-latin languages that make much more
extensive use of ligatures / combining characters, however.
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entry.h b/src/entry.h index 5536e06..562c085 100644 --- a/src/entry.h +++ b/src/entry.h @@ -65,6 +65,7 @@ struct entry { uint32_t outline_width; struct color foreground_color; struct color background_color; + struct color selection_highlight_color; struct color selection_foreground_color; struct color selection_background_color; struct color border_color; |