From 7ec746e82620bcda6ce28fbf44157b3c9da3bd90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 22 Jun 2019 21:39:11 +0200 Subject: [PATCH] render: implement 'conceal' attribute --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index fc6988a9..165ce9a1 100644 --- a/main.c +++ b/main.c @@ -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;