mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-02 01:40:13 -05:00
render: double-dim fg+bg when searching the scrollback buffer
By toning down the screen content more, the selection (i.e. the search match) pops out much more.
This commit is contained in:
parent
0d0ee8f378
commit
242ab66c97
1 changed files with 2 additions and 0 deletions
2
render.c
2
render.c
|
|
@ -207,6 +207,8 @@ render_cell(struct terminal *term, pixman_image_t *pix,
|
|||
if (term->is_searching && !is_selected) {
|
||||
pixman_color_dim(&fg);
|
||||
pixman_color_dim(&bg);
|
||||
pixman_color_dim(&fg);
|
||||
pixman_color_dim(&bg);
|
||||
}
|
||||
|
||||
struct font *font = attrs_to_font(term, &cell->attrs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue