aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-26 08:42:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-26 08:42:38 +0000
commit9a9e876d6e41da21eb3fdfc385135c8a94ce1183 (patch)
tree7ca1da6c14826867cf1c03743552d8748e4537c1 /render.c
parentrender: scrollback indicator: implement 'relative' and 'line' variants (diff)
render: scrollback indicator: use black on bright blue
Diffstat (limited to 'render.c')
-rw-r--r--render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render.c b/render.c
index 1d21a615..55213408 100644
--- a/render.c
+++ b/render.c
@@ -1383,13 +1383,13 @@ render_scrollback_position(struct terminal *term)
struct buffer *buf = shm_get_buffer(
term->wl->shm, width, height, cookie, false, 1);
- pixman_color_t bg = color_hex_to_pixman(term->colors.table[4]);
+ pixman_color_t bg = color_hex_to_pixman(term->colors.table[8 + 4]);
pixman_image_fill_rectangles(
PIXMAN_OP_SRC, buf->pix[0], &bg, 1,
&(pixman_rectangle16_t){0, 0, width, height});
struct fcft_font *font = term->fonts[0];
- pixman_color_t fg = color_hex_to_pixman(term->colors.table[7]);
+ pixman_color_t fg = color_hex_to_pixman(term->colors.table[0]);
/* Sub-surface relative coordinates */
unsigned x = width - margin - wcslen(text) * term->cell_width;