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:
Daniel Eklöf 2019-08-28 21:53:01 +02:00
parent 0d0ee8f378
commit 242ab66c97
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);