render: implement 'conceal' attribute

This commit is contained in:
Daniel Eklöf 2019-06-22 21:39:11 +02:00
parent 9c9ad48745
commit 7ec746e826
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

3
main.c
View file

@ -124,6 +124,9 @@ grid_render_update(struct context *c, struct buffer *buf, const struct damage *d
cairo_rectangle(buf->cairo, x, y, width, height);
cairo_fill(buf->cairo);
if (cell->attrs.conceal)
continue;
cairo_glyph_t *glyphs = NULL;
int num_glyphs = 0;