diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-26 08:42:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-26 08:42:38 +0000 |
| commit | 9a9e876d6e41da21eb3fdfc385135c8a94ce1183 (patch) | |
| tree | 7ca1da6c14826867cf1c03743552d8748e4537c1 /render.c | |
| parent | render: 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |
