From 242ab66c97771259d0f6d750b6407e8de1bb9ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 28 Aug 2019 21:53:01 +0200 Subject: [PATCH] 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. --- render.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render.c b/render.c index 1ed2202f..6501aa4b 100644 --- a/render.c +++ b/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);