render: scrollback indicator: use black on bright blue

This commit is contained in:
Daniel Eklöf 2020-07-26 10:42:38 +02:00
parent 2e519ed5b6
commit 9a9e876d6e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

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