render: don't dim selection while searching

This commit is contained in:
Daniel Eklöf 2019-08-27 19:40:07 +02:00
parent aee5045395
commit bb4fd58223
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -204,7 +204,7 @@ render_cell(struct terminal *term, pixman_image_t *pix,
bg = color_hex_to_pixman(term->cursor_color.cursor);
}
if (term->is_searching) {
if (term->is_searching && !is_selected) {
pixman_color_dim(&fg);
pixman_color_dim(&bg);
}