From e2bdda8c619e525cc732dcf82311d82a211f3c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 29 Jun 2019 20:50:40 +0200 Subject: [PATCH] render: don't try to render glyph for empty cell(s) --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 1da672c0..0dea3f64 100644 --- a/main.c +++ b/main.c @@ -132,6 +132,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->c[0] == '\0' || cell->c[0] == ' ') + continue; + if (cell->attrs.conceal) continue;