aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render.c b/render.c
index 1c9dcb16..e85d669b 100644
--- a/render.c
+++ b/render.c
@@ -424,7 +424,7 @@ cursor_colors_for_cell(const struct terminal *term, const struct cell *cell,
/* We *know* this only happens when bg is the default bg
* color */
*text_color = color_hex_to_pixman(
- term->reverse ? term->colors.fg : term->colors.bg);
+ term->reverse ^ is_selected ? term->colors.fg : term->colors.bg);
} else
*text_color = *bg;
}