fix: wrong color member in underline rendering

This commit is contained in:
kraftwerk28 2023-03-13 02:56:43 +02:00
parent 133e23b9d2
commit 7b666b2aad

View file

@ -631,7 +631,7 @@ render_cell(struct terminal *term, pixman_image_t *pix, pixman_region32_t *damag
case COLOR_BASE16:
case COLOR_BASE256:
xassert(cell->attrs.ul < ALEN(term->colors.table));
_ul = term->colors.table[cell->attrs.bg];
_ul = term->colors.table[cell->attrs.ul];
break;
case COLOR_DEFAULT: